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
Test Suit Collection
2
1) test 1
√ test 2 (1003ms)
As you can see the afterEach for test 1 never run, while it runs for test 2. Luckily I can still work with the after hook so this is not a big problem for me, but it would be nice if you can fix this.
The text was updated successfully, but these errors were encountered:
It seems like afterEach hooks do not run when a test fails in mocha.parallel. In standard mocha an afterEach hook runs even when a test fails.
Here an example:
Output:
As you can see the afterEach for test 1 never run, while it runs for test 2. Luckily I can still work with the after hook so this is not a big problem for me, but it would be nice if you can fix this.
The text was updated successfully, but these errors were encountered: