v1.2.0
🚀 Features
- Support case-insensitive path matching in cli - by @tigranmk in #3567 and #4911 (1326c)
- Add typeahead search - by @bonyuta0204 and @sheremet-va in #4275 and #4733 (480d8)
- Add syntax highlighting to error messages - by @sheremet-va in #4813 (8c969)
- Allow extending toEqual - by @tigranmk and @sheremet-va in #2875 and #4880 (463be)
- coverage:
- Custom reporter support - by @AriPerkkio in #4828 (96dc6)
- ui:
- Show unhandled errors on the ui - by @spiroka and @sheremet-va in #4380 (7f59a)
- vitest:
🐞 Bug Fixes
- browser:
- happy-dom:
- Window.close() for environment teardown - by @capricorn86 in #4931 (91719)
- utils:
- vitest:
- Fix tap reporter to handle custom error - by @hi-ogawa in #4897 (f8ba8)
- Gracefully exit Vitest if
process.exit
is called inside the test - by @sheremet-va in #4903 (8e6c1) - Throw "cannot mock" error only in isolated pools - by @sheremet-va in #4905 (f99cc)
- Don't throw SyntaxError when "await vi.hoisted" is used - by @sheremet-va in #4915 (ca62f)
- Correctly parse --maxWorkers/--minWorkers - by @sheremet-va in #4924 (0e77e)
- Show correct error when vi.hoisted is used inside vi.mock and the other way around - by @sheremet-va in #4916 (c4eac)
- Call global teardown when using workspaces - by @sheremet-va in #4935 (528bd)
- Use file instead of id for HMR - by @sheremet-va in #4938 (ca76f)
- Add inlined deps to ssr.noExternal so they are added to the module graph - by @sheremet-va in #4945 (1663f)
- workspace:
- Support overring
pool
andpoolOptions
on project level - by @AriPerkkio in #4765 (e9fe4)
- Support overring