Repository navigation
Commit 430b0ee
committed
test(backend): run jest without Sparkplug to avoid a Node 24 crash
Node 24 has a V8 garbage collector bug (nodejs/node#62393) that kills a jest
worker with SIGSEGV about once in ten full runs, and jest reports whichever
suite was running as failed. The test scripts start jest with
node --no-sparkplug, which the workers inherit. Node 22, used by CI and
production, is not affected. Drop the flag once a Node 24 release ships the
fix.
test:debug now points at jest's JS entry, so it also works under pnpm.1 parent fc81744 commit 430b0ee
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments