v4.1.9
Fixed
- Fix importOriginal with optimizer and query import
- Wait for orchestrator readiness before resolving browser sessions
- Wait for iframe tester readiness before preparing
- Hoist vi.mock() for vite-plus/test imports
- Prevent test run hang on worker crash
🐞 Bug Fixes
- Fix
importOriginalwith optimizer and query import [backport to v4] - by Hiroshi Ogawa, David Harris, Codexand Vladimir in https://github.com/vitest-dev/vitest/issues/10546 (a5180) - browser:
- Wait for orchestrator readiness before resolving browser sessions [backport to v4] - by Vladimir and Séamus O'Connor in https://github.com/vitest-dev/vitest/issues/10555 (7fb29)
- Wait for iframe tester readiness before preparing [backport to v4] - by Vladimir and Séamus O'Connor in https://github.com/vitest-dev/vitest/issues/10497 and https://github.com/vitest-dev/vitest/issues/10556 (fbc62)
- mocker:
- Hoist vi.mock() for vite-plus/test imports [backport to v4] - by Hiroshi Ogawa, LongYinan, Claude Opus 4.8 and Vladimir in https://github.com/vitest-dev/vitest/issues/10548 (2c955)
- pool:
- Prevent test run hang on worker crash [backport to v4] - by Ari Perkkiö and Jattioui Ismail in https://github.com/vitest-dev/vitest/issues/10543 and https://github.com/vitest-dev/vitest/issues/10564 (934b0)