🐞 Bug Fixes
- Move
Vitest.setServer
to postconfigureServer
hook to enable import analysis for workspace config loading - by @hi-ogawa in #6584 (e7f35) - benchmark:
- Clear
BenchmarkResult.samples
array to reduce memory usage - by @hi-ogawa and @AriPerkkio in #6541 (a6407)
- Clear
- browser:
- Fix dynamic import inside worker - by @hi-ogawa in #6569 (ea2d4)
- Fix browser mock factory event race condition - by @hi-ogawa in #6530 (f131f)
- Serve ui assets as static - by @hi-ogawa in #6564 (adcda)
- Update solidjs testing library lib - by @CamilleTeruel in #6548 (91442)
- Use
data:
protocol on preview provider file upload - by @userquin in #6501 (e9821) - Fix base for client script - by @hi-ogawa in #6510 (f9528)
- Throw an error if "@vitest/browser/context" is imported outside of the browser mode - by @sheremet-va in #6570 (383f1)
- coverage:
- Remove empty coverage folder on test failure too - by @AriPerkkio in #6547 (1371c)
- Include
*.astro
by default - by @AriPerkkio in #6565 (f8ff7) cleanOnRerun: false
to invalidate previous results - by @AriPerkkio in #6592 (88bde)
- expect:
- runner:
- Mark tests as skipped when
beforeAll
failed - by @hi-ogawa in #6524 (fb797) - Support fixture parsing of lowered async syntax - by @hi-ogawa in #6531 (b553c)
- Fix fixture parsing of lowered async syntax for non arrow functions - by @hi-ogawa in #6575 (3de00)
- Guard test hook callback - by @sheremet-va in #6604 (14971)
- Run
onTestFinished
andonTestFailed
duringretry
andrepeats
- by @hi-ogawa in #6609 (c5e29)
- Mark tests as skipped when
- ui:
- vite-node:
- vitest:
- Install dependencies with the same version when prompted - by @sheremet-va in #6611 (ed8b7)
- Make env.SSR consistent between different pools - by @sheremet-va in #6616 (8a8d3)
- Don't start a websocket server if api is disabled - by @sheremet-va in #6617 (82140)
- workspace: