`should cache paths for fast repeated access` compared a single cold vs warm readFile with Date.now() (ms resolution). Both reads are sub-millisecond, so the warm read intermittently measured 1ms vs the cold 0ms and the `time2 <= time1` assertion failed on rounding noise — a non-deterministic gate that blocked a clean release. Replace it with the average of 100 warm reads via performance.now() against a generous absolute bound (cached path reads are sub-ms), plus a content round-trip check. Same intent (cached access is fast), no single-shot ms flake. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| semantic | ||
| tree-operations.test.ts | ||
| vfs-bug-fixes.unit.test.ts | ||
| vfs-bulkwrite-race.test.ts | ||
| vfs-initialization.unit.test.ts | ||
| vfs-relationships.test.ts | ||
| vfs.unit.test.ts | ||