v1.0.0-beta.5
Pre-release
Pre-release
github-actions
released this
18 Nov 09:44
·
1164 commits
to main
since this release
🚨 Breaking Changes
- coverage: glob based coverage thresholds by @AriPerkkio in #4442 (18300)
- Refactors coverage thresholds API into new shape and adds support for specifying thresholds for specific files using glob patterns. Moves thresholds related coverage options to
coverage.thresholds
. See #4442 for detailed list of breaking changes
- Refactors coverage thresholds API into new shape and adds support for specifying thresholds for specific files using glob patterns. Moves thresholds related coverage options to
🚀 Features
- Improve expectTypeOf error messages - by @mmkal, Misha Kaletsky and @sheremet-va in #4206 (18300)
- Add test.sequential() api - by @dsyddall in #4512 (c3619)
- Allow custom pools - by @sheremet-va in #4417 (a3fd5)
- expect: ToContain can handle classList and Node.contains - by @sheremet-va in #4239 (ce84f)
🐞 Bug Fixes
- Handle errors thrown in fixtures - by @dsyddall (f6844)
- Default --open to !process.env.CI - by @collinstevens in #4477 (088a0)
- Disable ESBuild when user config disables it - by @Namchee in #4492 (9abde)
- Inherit concurrent/sequential in nested suites - by @dsyddall in #4482 (ca168)
- Provide customTesters to asymmetric matchers - by @sheremet-va (ac665)
- Apply
retry
andbail
from test config file - by @hi-ogawa in #4530 (94f9a) - browser:
- Add vitest/ imports to entries - by @sheremet-va in #4514 (648bc)
- Wait until vite finishes prebundling of vitest dependencies - by @sheremet-va in #4518 (56ee7)
- example:
- expect:
- Print full error if promise is rejected - by @sheremet-va in #4467 (cadb9)
- Don't fail when using jest expect - by @sheremet-va in #4517 (60d6d)
- vitest:
- Throw an error if vitest is imported using require() - by @sheremet-va in #4466 (e5cf1)
- Use correct type for defineProject to allow usage in mergeConfig - by @sheremet-va in #4498 (7dee8)
- Throw an error if Vite wasn't able to resolve aliased path - by @sheremet-va in #4503 (50333)