Commit bfa3684
committed
jest: exclude .test-dir/ from test discovery
When a previous test run leaves stale files inside .test-dir/ (e.g. copies
of the real worktree after a corrupted run that operated on the wrong
repository), Jest would discover and attempt to run .test.ts files found
there, producing confusing ENOENT failures. Tell Jest to ignore .test-dir/
entirely.
Assisted-by: Claude Opus 4.6
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent d51f9ae commit bfa3684
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
0 commit comments