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
Copy file name to clipboardExpand all lines: test/readme.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,7 +154,7 @@ Some special notes on how mocha works with our testing setup:
154
154
155
155
-`before` hooks will run even if a test is skipped by the environment it runs on.
156
156
- So, for example, if your before hook does logic that can only run on a certain server version you can't depend on your test block metadata to filter for that.
157
-
-`after` hooks cannot be used to clean up clients because the session leak checker currently runs its afterEach hook first.
157
+
-`after` hooks cannot be used to clean up clients because the session leak checker currently runs in an `afterEach` hook, which would be executed before any `after` hook has a chance to run
0 commit comments