v1.1.0
版本发布时间: 2023-12-19 22:06:08
vitest-dev/vitest最新发布版本:v3.0.0-beta.2(2024-12-10 18:22:19)
🚀 Features
- Add es-main compatibility to vite-node - by @zookatron in https://github.com/vitest-dev/vitest/issues/4751 (486a3)
- Add
--workspace
option, fix root resolution in workspaces - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4773 (67d93) - Add
--no-file-parallelism
,--maxWorkers
,--minWorkers
flags - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4705 (fd5d7) - Add
--no-isolate
flag to improve performance, add documentation about performance - by @sheremet-va, @AriPerkkio and Pascal Jufer in https://github.com/vitest-dev/vitest/issues/4777 (4d55a) - Add
--exclude
CLI flag - by @Namchee and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4279 (f859e)
🐞 Bug Fixes
- Correctly reset provided values - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4775 (5a71e)
-
expect:
- Fix
toHaveProperty
assertion error diff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4734 (f8f70)
- Fix
-
runner:
- Handle fixture teardown error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4683 (c6f5f)
-
types:
-
defineWorkspace
fix intellisense and report type errors - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4743 (9cc36)
-
-
ui:
- Escape html for console log view - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4724 (e0dde)
- Fix coverage iframe url for html report preview - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4717 (71911)
- Show file item when search filter matches only test cases - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4736 (f43fd)
-
vitest:
- Pass down CLI options to override workspace configs - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4774 (8dabe)