chore(deps): update dependency vitest to v1.5.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
vitest (source) | devDependencies | minor | 1.4.0 -> 1.5.0 |
Release Notes
vitest-dev/vitest (vitest)
v1.5.0
🚀 Features
- Add configuration for diff truncation - by @willieho in https://github.com/vitest-dev/vitest/issues/5073 and https://github.com/vitest-dev/vitest/issues/5333 (6797b)
- Remove unrelated noise from diff for toMatchObject() - by @geersch in https://github.com/vitest-dev/vitest/issues/5364 (99276)
- Allow custom host for --inspect and --inspect-brk - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5509 (61572)
- coverage: V8 to ignore empty lines, comments, types - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5457 (10b89)
🐞 Bug Fixes
-
describe
calls not taking generic type parameters - by @aryaemami59 in https://github.com/vitest-dev/vitest/issues/5415 (16bac) - Prevent hang when
process
is mocked - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5430 (0ec4d) - Don't check for "node:internal/console/" in console interceptor in case the environment is not Node.js - by @sheremet-va (87d36)
- The value received by toMatch should be a string - by @btea in https://github.com/vitest-dev/vitest/issues/5428 (67485)
- Increase stack trace limit for location, don't hardcode suite position - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5518 (04b23)
-
benchmark:
- Run benchmark suites sequentially - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5444 (1f548)
- Fix benchmark summary of single bench suite - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5489 (db981)
- Table reporter for non TTY output - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5484 (bea23)
-
expect:
- Fix
toHaveBeenNthCalledWith
error message when not called - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5420 (e5253)
- Fix
-
types:
- Pass correct type for suite factory - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5437 (26718)
-
utils:
- Fix object diff with getter only property - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5466 (366d9)
-
vite-node:
- Fix
isValidNodeImport
to check"type": "module"
first - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5416 (6fb15)
- Fix
-
vitest:
- Correctly send console events when state changes - by @sheremet-va (3463f)
- Initiate FakeTimers on demand - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5450 (e4e93)
- Check unhighlighted code for code frame line limit - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5465 (6ae7e)
- Correctly filter by parent folder - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5408 (91b06)
- Close inspector immediately if run is canceled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5519 (b8006)
-
workspace:
- Set CWD to config directory, allow overriding local .env - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5476 (d4003)
View changes on GitHub
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.