4.0.6
🐞 Bug Fixes
- Don't merge errors with different diffs for reporting - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8871 (3e19f)
- Do not throw when importing a type from an external package - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8875 (7e6c3)
- Improve spying types - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8878 (ca041)
- Reuse the same environment when
isolateandfileParallelismare false - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8889 (31706) - browser:
- Support module tracking - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8877 (9e24a)
- Ensure setup files are re-evaluated on each test run - by @yjaaidi in https://github.com/vitest-dev/vitest/issues/8883 and https://github.com/vitest-dev/vitest/issues/8884 (f50ea)
- coverage:
- Prevent filtering out virtual files before remapping to sources - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8860 (e3b77)
- happy-dom:
- Properly teardown additional keys - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8888 (10a06)
- jsdom:
- Pass down Node.js
FormDatatoRequest- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8880 (197ca)
- Pass down Node.js