Commit a8b51ab
fix(js): add --forceExit to Jest to prevent test hang with Node 24
Jest 30 with Node 24 waits indefinitely for open handles (timers,
promises) that the WebSocket mock tests don't properly clean up.
Adding --forceExit forces Jest to exit after tests complete.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent d316345 commit a8b51ab
File tree
3 files changed
+3
-3
lines changed- javascript/lib
- api
- dom
- node
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments