🚀 Features
- cache: Add fs module cache env variables - by @sheremet-va in #11859 (708c0)
🐞 Bug Fixes
- Rerun on file changes after a config restart - by @magurotuna in #11772 and #11829 (289ca)
- Avoid leaking the context expect - by @sheremet-va in #11845 (3c967)
- Report fixture teardown errors once - by @sheremet-va in #11857 (6b167)
- Improve diffs for asymmetric matchers - by @sheremet-va in #11855 (86775)
- Apply --shard before the test run starts - by @sheremet-va in #11846 (e5c80)
- Reset local expect state between retries for
expect.assertions/hasAssertions- by @hi-ogawa and Claude Opus 5.5 in #11900 (50dcd) - Sort test files before the seeded shuffle - by @sheremet-va in #11926 (3aa30)
- Tear down fixture contexts one at a time - by @sheremet-va in #11956 (5712b)
- Count merged errors in the error divider - by @sheremet-va in #11955 (4bc4f)
- Match
-and.innoExternalwildcards - by @hi-ogawa and Claude Opus 5.5 in #11978 (efba8) - Give each test attempt a new
signal- by @sheremet-va in #11998 (77a30) - Throw timeout error classes instead of Error - by @sheremet-va in #12003 (9b874)
- ast-collect:
- Only collect calls with a name argument - by @sheremet-va in #11853 (c015a)
- browser:
- cache:
- Always leave a manifest to the fs module cache - by @sheremet-va in #11858 (1b238)
- Watch cached files outside the root - by @sheremet-va in #11860 (9c044)
- Treat a removed cache file as a miss - by @sheremet-va in #11861 (f21f2)
- Allow cache hits in configureServer - by @sheremet-va in #11927 (a0dfc)
- cli:
- Parse
--bailcorrectly - by @AriPerkkio in #11896 (4f91e)
- Parse
- coverage:
- Transform untested files with correct project - by @AriPerkkio in #11870 (83298)
- V8 to handle sub process script coverages separately - by @AriPerkkio in #11890 (71ad4)
- Derive
ignoreNodeAST type from installed parser - by @AriPerkkio in #11958 (cab34) - V8 to ignore more Vite's CJS import helpers - by @AriPerkkio in #11981 (4e905)
- experimental:
- mocker:
- Keep re-exports of hoisted imports - by @sheremet-va in #11867 (5f72c)
- pool:
- Shutdown disconnected workers even when
testTimeoutis disabled - by @AriPerkkio in #11924 (97911) - Terminate stuck orphaned forks workers - by @AriPerkkio in #11939 (47c87)
isolate: falseto not re-use workers that failed to start - by @AriPerkkio in #11953 (7e672)
- Shutdown disconnected workers even when
- reporter:
- Report crashed test files as failed in json - by @magurotuna in #11965 (47fb9)
- spy:
- Use primordials to allow spying on builtins - by @sheremet-va in #11837 (d951e)
- typecheck:
- Add env var to hide experimental warning - by @aliamanatali in #11840 (5a69e)
- Kill the checker process tree on windows - by @sheremet-va in #11850 (1fa69)
- vitest:
- Allow assigning to import.meta.env - by @aliamanatali in #11841 (9fd1f)
🏎 Performance
- Send source maps to workers as a string - by @maschwenk in #11750 (485cd)
- Resolve CLI file filters once instead of per test file - by @maschwenk in #11935 (96a90)
- browser: Reuse cached modules during vitest run - by @magurotuna in #11914 (0c502)