4.0.8
🐞 Bug Fixes
- Workaround
noExternalmerging bug on Vite 6 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8950 (bcb13) - Missed context.d.ts file - by @termorey in https://github.com/vitest-dev/vitest/issues/8965 (9044d)
- Incorrect error message for non-awaited
expect.element()- by @StyleShit in https://github.com/vitest-dev/vitest/issues/8954 (9638d) - browser: Cleanup frame-ancestors from CSP header at coverage middleware - by @userquin in https://github.com/vitest-dev/vitest/issues/8941 (1f730)
- deps: Update all non-major dependencies - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8636 (da8b9)
- forks: Do not fail with Windows Defender enabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8967 (c79f4)
- runner: Properly encode Uint8Array body in annotations - by @Livan-pro in https://github.com/vitest-dev/vitest/issues/8951 (997ca)
- spy: Copy static properties if spy is initialised with
vi.fn(), fix types forvi.spyOn(obj, class)- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8956 (75e7f) - webdriverio: When no argument is passed to the .click interaction command, the webdriver command should also have no argument - by @julienw in https://github.com/vitest-dev/vitest/issues/8937 (069e6)