v2.0.0-beta.1
版本发布时间: 2024-05-09 22:33:10
vitest-dev/vitest最新发布版本:v3.0.0-beta.2(2024-12-10 18:22:19)
🚨 Breaking Changes
- Remove the empty suite from the runner - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5435 (dbbbe)
- Remove --segfault-retry - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5514 (ed60e)
- Run suite hooks in a stack - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5609 (1277d)
- Enable
coverage.ignoreEmptyLines
by default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5543 (31994) - Add correct location and snapshot fields in json reporter - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5434 (bcccc)
- Update dependency chai to v5 - by @renovate[bot] and @sheremet-va in https://github.com/vitest-dev/vitest/issues/5135 (73646)
- Remove watchExclude - by @patak-dev in https://github.com/vitest-dev/vitest/issues/5177 (d7371)
🚀 Features
- Pretty print diffs coming from cause - by @dubzzz in https://github.com/vitest-dev/vitest/issues/5660 (6faf8)
- Allow import statement as vi.mock path for better IDE support - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5690 (a99a1)
🐞 Bug Fixes
- Print console statements in vmThreads - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5678 (34a80)
- expect: Fix immutable.js iterable equality - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5692 (1532c)