If setTimeout
is overridden in an async test, ospec's timers can break, causing ospec to not actually report anything.
#76
Labels
bug
Something isn't working
Steps:
o.beforeEach
callback or synchronously in a promise-returning test body, overridesetTimeout
to capture its body.o.afterEach
callback.Unfortunately, I don't have a handy test case for this at the moment, but it should be possible to piece one together pretty easily.
Had to work around this by using timers directly.
The text was updated successfully, but these errors were encountered: