Fix tests;
This commit is contained in:
parent
449e29b31c
commit
a4337fecc6
@ -191,8 +191,8 @@ describe('Observable', function()
|
|||||||
local onNextB = observableSpy(observable)
|
local onNextB = observableSpy(observable)
|
||||||
repeat Rx.scheduler:update()
|
repeat Rx.scheduler:update()
|
||||||
until Rx.scheduler:isEmpty()
|
until Rx.scheduler:isEmpty()
|
||||||
expect(onNextA).to.equal({{2}})
|
expect(onNextA).to.equal({{1}, {3}})
|
||||||
expect(onNextB).to.equal({{1}, {3}})
|
expect(onNextB).to.equal({{2}})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('uses a unique coroutine for each Observer when the first argument is a function', function()
|
it('uses a unique coroutine for each Observer when the first argument is a function', function()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user