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 see in my logs that a beforeEach block is run while another (asynchronous) one is still in progress.
I20150612-08:51:20.392(10)? before each
I20150612-08:51:20.393(10)? ==> onCreateUser
I20150612-08:51:20.399(10)? [velocity] Established connection with Velocity.
I20150612-08:51:20.402(10)? before each done
I20150612-08:51:20.403(10)? before each 2
I20150612-08:51:20.411(10)? Running mocha server tests
I20150612-08:51:20.451(10)? before each
"before each 2" line means a nested beforeEach (in a describe block) started executing. I would expect there to be a before each 2 done log line before seeing another "before each".
This causes trouble with sinon spies (as they are being re-wrapped when the other beforeEach starts executing which makes sinon throw an exception).
The text was updated successfully, but these errors were encountered:
I can see in my logs that a
beforeEach
block is run while another (asynchronous) one is still in progress."before each 2" line means a nested
beforeEach
(in a describe block) started executing. I would expect there to be abefore each 2 done
log line before seeing another "before each".This causes trouble with sinon spies (as they are being re-wrapped when the other
beforeEach
starts executing which makes sinon throw an exception).The text was updated successfully, but these errors were encountered: