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 think that this is due to mocha's handling of asynchonous tests. The fact that we're not returning a promise from the before hooks means that it's not waiting for them to finish. Thus, when an error is thrown, mocha doesn't know about the async stuff that's running, and thus doesn't think it has to kill anything else. That's just speculation, though, I have to dig a little deeper.