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
{{ message }}
This repository was archived by the owner on Apr 20, 2018. It is now read-only.
The library documentation indicates that the .observeOn(...) method of the Observable class is included in the rx.lite distribution (see here). However, a Subject (which is documented to inherit from the Observable class) created from the "lite" distribution does not include the observeOn method as an instance operator.
Version: 4.1.0
Reproduce:
importtestfrom'tape';importRx,{Subject}from'rx/dist/rx.lite';test("rxjs...",sub=>{sub.test("...should support the observeOn method via the lite distribution.",assert=>{assert.plan(2);constsubject=newSubject();assert.ok(subject,"A subject should have been instantiated.");assert.equal(typeofsubject.observeOn,'function',"The subject should have an observeOn method.");assert.end();});});
Output:
✓ rxjs...
⨯ ...should support the observeOn method via the lite distribution.
not ok 2 The subject should have an observeOn method.
---
operator: equal
expected: 'function'
actual: 'undefined'
at: Test.<anonymous> ([redacted])
...
# tests 2
# pass 1
⨯ fail 1