Files
codegraph/__tests__
Colby Mchenry 8abebda02c test(windows): two #1910 tests no longer time out on Windows (#2298)
oversize-file-not-read's drift test wrote a 1.4 MB `.js` made of one statement
repeated 110k times. Windows Defender's script scan of that freshly written
file takes about 54 s on its first read (the viewer's read in the test), so the
test always timed out on Windows and its cleanup then hit EPERM on the still
open file. A varied 2.4 MB `.js` and a real 2 MB bundle scan in 35 ms and
144 ms, so this is the fixture, not something users hit; the fixture now has
a different statement on every line.

The mpeg-ts git-path cases build a git repository and index it, the last one
twice. At ~100 ms per git process on Windows that is 5–6 s, past vitest's 5 s
default; the describe now allows 30 s.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 07:07:34 +00:00
..