v1.1.1
版本发布时间: 2023-12-31 21:36:48
vitest-dev/vitest最新发布版本:v2.1.0-beta.6(2024-08-20 21:19:10)
🐞 Bug Fixes
- Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by @wojtekmaj and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4698 (ee8b4)
- Don't fail if
inline: true
is set - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4815 (8f622) - Correct option name
--no-parallelism
- by @bonyuta0204 in https://github.com/vitest-dev/vitest/issues/4831 (5053a) - Match jest json output by making json reporter output ndjson-compatible - by @bard in https://github.com/vitest-dev/vitest/issues/4824 (7e6a6)
-
runner:
- Reset "current test" state on dynamic
skip
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4814 (19faf)
- Reset "current test" state on dynamic
-
vitest:
- Don't hang when mocking files with cyclic dependencies - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4811 (e8ca6)
- Initialize snapshot state only once for each file suite - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4796 (957da)
- Fix file snapshots in skipped suites considered obsolete - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4795 (06c14)
- Show
beforeAll/afterAll
errors in junit reporter - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4819 (2baea)
-
vm-threads:
- Tests not cancelled on key press, cancelled tests shown twice - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4781 (cf53d)