v1.4.0
🚀 Features
- Throw error when using snapshot assertion with
not
- by @fenghan34 in #5294 (b9d37) - Add a flag to include test location in tasks - by @sheremet-va in #5342 (d627e)
- cli:
- Support wildcards in
--project
option - by @fenghan34 in #5295 (201bd)
- Support wildcards in
- config:
- Add
shuffle.files
andshuffle.tests
options - by @fenghan34 in #5281 (356db) - Deprecate
cache.dir
option - by @fenghan34 in #5229 (d7e8b)
- Add
- coverage:
- Support
--changed
option - by @AriPerkkio in #5314 (600b4)
- Support
- vitest:
🐞 Bug Fixes
- Repeatable
--project
option - by @fenghan34 in #5265 (d1a06) --inspect-brk
to pause before execution - by @AriPerkkio in #5355 (e77c5)- Correct locations in test.each tasks - by @sheremet-va (4f6e3)
- api:
- Use resolvedUrls from devserver - by @saitonakamura and @hi-ogawa in #5289 (2fef5)
- browser:
- coverage:
- Expensive regexp hangs v8 report generation - by @AriPerkkio in #5259 (d68a7)
- V8 to ignore type-only files - by @AriPerkkio in #5328 (c3eb8)
- Respect source maps of pre-transpiled sources - by @AriPerkkio in #5367 (6eda4)
- Prevent
reportsDirectory
from removing user's project - by @AriPerkkio in #5376 (07ec3)
- expect:
- forks:
- Wrap
defines
to supportundefined
values - by @AriPerkkio in #5284 (5b58b)
- Wrap
- typecheck:
- ui:
- vitest:
- Loosen
onConsoleLog
return type - by @hi-ogawa in #5337 (6d1b1) - Ensure restoring terminal cursor on close - by @hi-ogawa in #5292 (0bea2)
- Ignore timeout on websocket reporter rpc - by @sheremet-va (38119)
- Correctly override api with --no-api flag - by @sheremet-va in #5386 (51d1d)
- Logs in
beforeAll
andafterAll
- by @fenghan34 in #5288 (ce5ca)
- Loosen
- workspace:
- Throw error when browser mode and
@vitest/coverage-v8
are used - by @AriPerkkio in #5250 (29f98)
- Throw error when browser mode and