chore(deps): update dependency vitest to ^0.33.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
vitest | devDependencies | minor | ^0.32.0 -> ^0.33.0 |
Release Notes
vitest-dev/vitest
v0.33.0
🚨 Breaking Changes
- Revert default include patterns - by @so1ve #3729
-
0.32.0
changed the defaultinclude
globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive.
-
🐞 Bug Fixes
- Add missing JSDom living keys - by @DerZade in https://github.com/vitest-dev/vitest/issues/3702 (83a86)
-
vite-node:
- Don't fail when importing Promise module - by @sheremet-va (08192)
- Allow importing node:test - by @sheremet-va (db22c)
View changes on GitHub
v0.32.4
🐞 Bug Fixes
- browser: Correctly optimize CJS dependencies - by @sheremet-va (3d090)
View changes on GitHub
v0.32.3
🚀 Features
- Add
concurrent
option tosequence
config - by @fenghan34 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/3604 (f427f) - Introduce global configuration for retry setting - by @imentu and @sheremet-va in https://github.com/vitest-dev/vitest/issues/3598 and https://github.com/vitest-dev/vitest/issues/3603 (9a117)
- Don't rely on util package in @vitest/utils - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3685 (f91da)
- Support accessing other fixtures in fixture function - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/3651 (1621c)
- Support use function/class as
bench
name - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/3711 (a749a) - reporters: Show full test suite when testing 1 spec file at a time - by @Dunqing in https://github.com/vitest-dev/vitest/issues/3543 (7531c)
-
runner: Support
test.extend
- by @fenghan34 in https://github.com/vitest-dev/vitest/issues/3554 (2db1a)
🐞 Bug Fixes
- Remove "concordance" from dependencies list - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3597 (969dc)
- Show diff correctly - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3620 (73dd4)
- Util import - by @fubhy in https://github.com/vitest-dev/vitest/issues/3621 (2fb4c)
- Compat with frozen Math - by @turadg in https://github.com/vitest-dev/vitest/issues/3527 (0db67)
-
CTRL+C
to terminate run - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3642 (fa663) - Run mode stuck in TTY terminals - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3690 (141a8)
- Use first stack frame in json reporter - by @tim-smart in https://github.com/vitest-dev/vitest/issues/3645 (80ea7)
- Print actual number for
toBeCalledTimes
- by @antfu in https://github.com/vitest-dev/vitest/issues/3696 (d3640) -
benchmark:
- Don't fail when running correct benchmarks - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3629 (edad9)
-
browser:
- Correctly print diff - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3627 (d756e)
- Esm injector doesn't replace class expressions - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3641 (5c0ac)
- Transform superclass identifier - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3681 (a1e04)
-
coverage:
-
v8
to prevent crash on dynamic CJS files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3657 (40f18)
-
-
runner:
- Make the default value of
retry
andrepeats
0 - by @Dunqing in https://github.com/vitest-dev/vitest/issues/3638 (6d146)
- Make the default value of
-
utils:
- Respect all flags in format function - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3695 (91e16)
-
watch:
- Cancel using
h
key - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3618 (60c36)
- Cancel using
View changes on GitHub
v0.32.2
🐞 Bug Fixes
- browser: Don't fail on importing diff-sequences - by @sheremet-va (00b0e)
View changes on GitHub
v0.32.1
🚀 Features
- Export
registerConsoleShortcuts
fromvitest/node
- by @deot in https://github.com/vitest-dev/vitest/issues/3563 (bc49b) -
expect: Support
expect.unreachable
- by @fenghan34 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/3556 (8e385) -
runner:
describe
/test
name support anonymous function - by @btea in https://github.com/vitest-dev/vitest/issues/3562 (3d436)
🐞 Bug Fixes
- Avoid call stack recursion with large error (fix: #3060) - by @nathanmmiller and @sheremet-va in https://github.com/vitest-dev/vitest/issues/3078 and https://github.com/vitest-dev/vitest/issues/3060 (02196)
- Automatically remove define related configuration - by @btea in https://github.com/vitest-dev/vitest/issues/3552 (368b8)
- Import
performance
fromperf_hooks
- by @Max10240 and wangbaolong.wbl in https://github.com/vitest-dev/vitest/issues/3578 and https://github.com/vitest-dev/vitest/issues/3579 (24ec8) - Revert concordance diff, use jest's diff output - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3582 (9c7ea)
- Typo in config suggestion - by @Krisell in https://github.com/vitest-dev/vitest/issues/3583 (68985)
-
browser:
- Change optimized deps to use
vitest
- by @userquin in https://github.com/vitest-dev/vitest/issues/3580 (b4ac8) - Access vi_inject only if it was injected - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3587 (d9e14)
- Change optimized deps to use
-
mocker:
- Respect namespace import when hoisting vi.mock - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3547 (158c4)
-
ui:
- Navigate to dashboard when re-running tests from coverage page - by @userquin in https://github.com/vitest-dev/vitest/issues/3529 (bc283)
-
vite-node:
- Correctly resolve virtual modules - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/3544 (0cbb0)
- Fix errors caused by commonjs export circular references - by @rxliuli in https://github.com/vitest-dev/vitest/issues/3570 (b097c)
View changes on GitHub
Configuration
-
If you want to rebase/retry this MR, check this box