v1.5.0
🚀 Features
- Add configuration for diff truncation - by @willieho in #5073 and #5333 (6797b)
- Remove unrelated noise from diff for toMatchObject() - by @geersch in #5364 (99276)
- Allow custom host for --inspect and --inspect-brk - by @sheremet-va in #5509 (61572)
- coverage: V8 to ignore empty lines, comments, types - by @AriPerkkio in #5457 (10b89)
🐞 Bug Fixes
describe
calls not taking generic type parameters - by @aryaemami59 in #5415 (16bac)- Prevent hang when
process
is mocked - by @AriPerkkio in #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 #5428 (67485)
- Increase stack trace limit for location, don't hardcode suite position - by @sheremet-va in #5518 (04b23)
- benchmark:
- expect:
- types:
- Pass correct type for suite factory - by @sheremet-va in #5437 (26718)
- utils:
- vite-node:
- vitest:
- Correctly send console events when state changes - by @sheremet-va (3463f)
- Initiate FakeTimers on demand - by @sheremet-va in #5450 (e4e93)
- Check unhighlighted code for code frame line limit - by @hi-ogawa in #5465 (6ae7e)
- Correctly filter by parent folder - by @sheremet-va in #5408 (91b06)
- Close inspector immediately if run is canceled - by @sheremet-va in #5519 (b8006)
- workspace:
- Set CWD to config directory, allow overriding local .env - by @sheremet-va in #5476 (d4003)