Repository navigation
Commit 495cd8d
test(host-kit): stub os.homedir for the exec-trace late-close test
vi.stubEnv('HOME') does not reach os.homedir() in worker threads, which is
the pool Stryker's vitest runner forces. The diagnostics homedir fallback
then wrote outside the temp home and the test read an undefined path,
failing the Mutation Harness Canary dry run.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>1 parent 9935ef5 commit 495cd8d
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
202 | | - | |
| 204 | + | |
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
| |||
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
245 | | - | |
| 247 | + | |
246 | 248 | | |
247 | 249 | | |
248 | 250 | | |
| |||
0 commit comments