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
What is the intended way to write tests that run in parallel and that need to sync up at a certain point? E.g. I'd love to convert the DB opening test to run in parallel, but they need to sync up at the end. This was easy with beforeExit but it looks like it requires a lot more custom code or third party control flow libraries (like Step) with mocha.
The text was updated successfully, but these errors were encountered:
one thing i was considering is something like expect(2) to allow calling done() twice, making stuff like that trivial, though it would still be easy with var pending = 2; dostuff(function(){ --pending || done() }) etc
What is the intended way to write tests that run in parallel and that need to sync up at a certain point? E.g. I'd love to convert the DB opening test to run in parallel, but they need to sync up at the end. This was easy with
beforeExit
but it looks like it requires a lot more custom code or third party control flow libraries (like Step) with mocha.The text was updated successfully, but these errors were encountered: