Commit 0198c57
authored
fix(test): use --experimental-strip-types in Worker execArgv (#1164)
The snapshot concurrent-save tests passed `--strip-types` to Worker
execArgv on Node ≥ 23. That flag is not in the Worker execArgv allowlist
on Node 24, so both workers exited with ERR_WORKER_INVALID_EXEC_ARGV
before posting a message, causing Promise.allSettled to return two
rejected entries and the test assertions to fail.
`--experimental-strip-types` is accepted as a Worker execArgv flag on
all supported Node versions (≥ 22.6) and is a harmless no-op on Node
≥ 23.6 where type stripping is default-on.
Closes #11171 parent 610c697 commit 0198c57
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | 152 | | |
154 | 153 | | |
155 | 154 | | |
156 | 155 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
0 commit comments