chore(deps): update dependency vitest to v1.4.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
vitest (source) | devDependencies | minor | 1.3.1 -> 1.4.0 |
Release Notes
vitest-dev/vitest (vitest)
v1.4.0
🚀 Features
- Throw error when using snapshot assertion with
not
- by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5294 (b9d37) - Add a flag to include test location in tasks - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5342 (d627e)
-
cli:
- Support wildcards in
--project
option - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5295 (201bd)
- Support wildcards in
-
config:
- Add
shuffle.files
andshuffle.tests
options - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5281 (356db) - Deprecate
cache.dir
option - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5229 (d7e8b)
- Add
-
coverage:
- Support
--changed
option - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5314 (600b4)
- Support
-
vitest:
- Support
clearScreen
cli flag - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5241 (e1735)
- Support
🐞 Bug Fixes
- Repeatable
--project
option - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5265 (d1a06) -
--inspect-brk
to pause before execution - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5355 (e77c5) - Correct locations in test.each tasks - by @sheremet-va (4f6e3)
-
api:
- Use resolvedUrls from devserver - by @saitonakamura and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5289 (2fef5)
-
browser:
- Add
magic-string
tooptimizeDeps.include
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5278 (8f04e)
- Add
-
coverage:
- Expensive regexp hangs v8 report generation - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5259 (d68a7)
- V8 to ignore type-only files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5328 (c3eb8)
- Respect source maps of pre-transpiled sources - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5367 (6eda4)
- Prevent
reportsDirectory
from removing user's project - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5376 (07ec3)
-
expect:
- Show diff on
toContain/toMatch
assertion error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5267 (8ee59)
- Show diff on
-
forks:
- Wrap
defines
to supportundefined
values - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5284 (5b58b)
- Wrap
-
typecheck:
- Update get-tsconfig 4.7.3 to fix false circularity error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5384 (bdc37)
-
ui:
- Escape html in error diff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5325 (ab60b)
-
vitest:
- Loosen
onConsoleLog
return type - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5337 (6d1b1) - Ensure restoring terminal cursor on close - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5292 (0bea2)
- Ignore timeout on websocket reporter rpc - by @sheremet-va (38119)
- Correctly override api with --no-api flag - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5386 (51d1d)
- Logs in
beforeAll
andafterAll
- by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5288 (ce5ca)
- Loosen
-
workspace:
- Throw error when browser mode and
@vitest/coverage-v8
are used - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5250 (29f98)
- Throw error when browser mode and
View changes on GitHub
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.