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: integration-tests/__tests__/__snapshots__/detect_open_handles.js.snap
+15
Original file line number
Diff line number
Diff line change
@@ -11,3 +11,18 @@ exports[`prints message about flag on slow tests 1`] = `
11
11
12
12
This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with \`--detectOpenHandles\` to troubleshoot this issue."
13
13
`;
14
+
15
+
exports[`prints out info about open handlers from inside tests 1`] =`
16
+
"Jest has detected the following 1 open handle potentially keeping Jest from exiting:
17
+
18
+
● Timeout
19
+
20
+
1 | test('something', () => {
21
+
>2|setTimeout(() => {}, 30000);
22
+
|^
23
+
3|expect(true).toBe(true);
24
+
4|});
25
+
5 |
26
+
27
+
at Object.<anonymous>.test (__tests__/inside.js:2:3)"
0 commit comments