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: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,7 @@
71
71
-`[jest-core]` Use `WeakRef` to hold timers when detecting open handles ([#11277](https://github.com/facebook/jest/pull/11277))
72
72
-`[jest-core]` Correctly detect open handles that were created in test functions using `done` callbacks ([#11382](https://github.com/facebook/jest/pull/11382))
73
73
-`[jest-core]` Do not collect `RANDOMBYTESREQUEST` as open handles ([#11278](https://github.com/facebook/jest/pull/11278))
74
+
-`[jest-core]` Wait briefly for open handles to close before flagging them when using `--detectOpenHandles` ([#11429](https://github.com/facebook/jest/pull/11429))
74
75
-`[jest-diff]`[**BREAKING**] Use only named exports ([#11371](https://github.com/facebook/jest/pull/11371))
75
76
-`[jest-each]`[**BREAKING**] Ignore excess words in headings ([#8766](https://github.com/facebook/jest/pull/8766))
76
77
-`[jest-each]` Support array index with template strings ([#10763](https://github.com/facebook/jest/pull/10763))
Copy file name to clipboardExpand all lines: e2e/__tests__/__snapshots__/detectOpenHandles.ts.snap
+3-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
+
exports[`does not print info about open handlers for a server that is already closed 1`] =``;
4
+
3
5
exports[`prints message about flag on forceExit 1`] =`Force exiting Jest: Have you considered using \`--detectOpenHandles\` to detect async operations that kept running after all tests finished?`;
4
6
5
7
exports[`prints message about flag on slow tests 1`] =`
@@ -11,7 +13,7 @@ This usually means that there are asynchronous operations that weren't stopped i
11
13
exports[`prints out info about open handlers 1`] =`
12
14
Jest has detected the following 1 open handle potentially keeping Jest from exiting:
0 commit comments