3.1.2
🐞 Bug Fixes
- Add global
chaivariable invitest/globals(fix: #7474) - by @Jay-Karia in https://github.com/vitest-dev/vitest/issues/7771 and https://github.com/vitest-dev/vitest/issues/7474 (d9297) - Prevent modifying
test.excludewhen same object passed incoverage.exclude- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7774 (c3751) - Fix already hoisted mock - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7815 (773b1)
- Fix test.scoped inheritance - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7814 (db6c3)
- Remove pointer-events-none after resizing the left panel - by @alexprudhomme in https://github.com/vitest-dev/vitest/issues/7811 (a7e77)
- Default to run mode when stdin is not a TTY - by @kentonv, @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/7673 (6358f)
- Use happy-dom/jsdom types for
envionmentOptions- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7795 (67430) - browser:
- Fix transform error before browser server initialization - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7783 (5f762)
- Fix mocking from outside of root - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7789 (03f55)
- Scale iframe for non ui case - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6512 (c3374)
- coverage:
awaitprofiler calls - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7763 (795a6)- Expose profiling timers - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7820 (5652b)
- deps:
- Update all non-major dependencies - in https://github.com/vitest-dev/vitest/issues/7765 (7c3df)
- Update all non-major dependencies - in https://github.com/vitest-dev/vitest/issues/7831 (15701)
- runner:
- Correctly call test hooks and teardown functions - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7775 (3c00c)
- Show stacktrace on test timeout error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7799 (df33b)
- ui:
- Load panel sizes from storage on initial load - by @userquin in https://github.com/vitest-dev/vitest/issues/7265 (6555d)
- vite-node:
- Named export should overwrite export all - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7846 (5ba0d)
- Add ERR_MODULE_NOT_FOUND code error if module cannot be loaded - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7776 (f9eac)
🏎 Performance
- browser: Improve browser parallelisation - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7665 (816a5)