You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't run the examples in the README. I don't know how to run any tests.
Example Test (failing):
it('Should concatenate two cold observables into single cold observable',()=>{consta=cold('-a-|');constb=cold('-b-|');constexpected='-a--b-|';expect(a.pipe(concat(b))).toBeMarble(expected);});
Error Message:
TypeError: pipe_1.pipeFromArray(...) is not a function
5 | const b = cold('-b-|');
6 | const expected = '-a--b-|';
> 7 | expect(a.pipe(concat(b))).toBeMarble(expected);
| ^
8 | });
9 |
at ColdObservable.Object.<anonymous>.Observable.pipe (node_modules/rxjs/src/internal/Observable.ts:437:37)
at Object.pipe (__tests__/x.js:7:14)
The text was updated successfully, but these errors were encountered:
KhalfaniW
changed the title
Can't run README.md examples TypeError: pipe_1.pipeFromArray(...) is not a function
Can't run README.md examples: TypeError: pipe_1.pipeFromArray(...) is not a function
Oct 3, 2024
KhalfaniW
changed the title
Can't run README.md examples: TypeError: pipe_1.pipeFromArray(...) is not a function
Can't run README.md examples. TypeError: pipe_1.pipeFromArray(...) is not a function
Oct 3, 2024
The examples not being updated is confusing to beginners like myself
KhalfaniW
changed the title
Can't run README.md examples. TypeError: pipe_1.pipeFromArray(...) is not a function
Can't run README.md examples
Oct 3, 2024
Description:
I can't run the examples in the README. I don't know how to run any tests.
Example Test (failing):
Error Message:
package.json:
The text was updated successfully, but these errors were encountered: