v0.34.5
🚀 Features
- config:
- Add
diff
option - by @fenghan34 and @sheremet-va in #4063 (b50cf)
- Add
- coverage:
- Add
coverage['100']
to istanbul provider - by @marcelobotega in #4109 (a7e09)
- Add
- vitest:
- Support
vi.waitFor
method - by @Dunqing and @sheremet-va in #4113 (d79cb) - Allow using unprocessed environment files - by @sheremet-va in #4098 (1aee1)
- Support
vi.waitUntil
method - by @Dunqing and @sheremet-va in #4129 (e0ac9)
- Support
🐞 Bug Fixes
- Update HappyDOMOptions to be compatible with v12 - by @anthonyblond in #4135 (e8797)
- Print value shape when .resolves and .rejects fails - by @sheremet-va in #4137 (e649d)
- docs:
- Fix lint errors on onConsoleLog example - by @marcelobotega in #4116 (ba1e7)
- expect:
- happy-dom:
- Catch errors in happy-dom - by @capricorn86 in #4140 (c21c0)
- runner:
- snapshot:
- Support mix of normal/with placeholders snapshots - by @RobertPechaCZ in #4118 (01e01)
- ui:
- Correctly render ansi diff - by @so1ve and @sheremet-va in #3810 (8c315)
- vite-node:
- Export
SourceMapInput
to fix CYCLIC_CROSS_CHUNK_REEXPORT - by @Dunqing in #4128 (ca70a) - Align vite dependency version with vitest - by @sheremet-va (90ff8)
- Export
- vitest:
- Rerun tests if a file loaded with query changes - by @sheremet-va in #4130 (a084c)
- Inject "define" in workspaces - by @sheremet-va in #4096 (b4d5a)
🏎 Performance
- Use lazy require in vm pool - by @sheremet-va in #4136 (21ba4)