Commit 984e419
fix(mutation-tests): add inPlace:true to fix sandbox out/ directory issue
Stryker by default copies only git-tracked files to its sandbox.
Since \out/\ is gitignored, the compiled test files and vscode-shim
were missing from the sandbox, causing every test command to hang
until Stryker's per-mutant timeout was reached.
Setting inPlace:true makes Stryker mutate the compiled JS files
directly in the working directory (no sandbox), which works correctly
since npm run compile-tests already runs before npx stryker run.
Stryker still backs up the originals in .stryker-tmp before each
mutation and restores them afterwards.
Verified locally: html.js run completed in 5s with 0 timeouts.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 113052a commit 984e419
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
24 | 34 | | |
25 | 35 | | |
26 | 36 | | |
| |||
0 commit comments