Update dependency vitest to ^0.34.0 #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.32.0->^0.34.0Release Notes
vitest-dev/vitest (vitest)
v0.34.6Compare Source
🐞 Bug Fixes
test.extendshould be init once time in all test - by @Dunqing in #4168 (730b2)View changes on GitHub
v0.34.5Compare Source
🚀 Features
diffoption - by @fenghan34 and @sheremet-va in #4063 (b50cf)coverage['100']to istanbul provider - by @marcelobotega in #4109 (a7e09)vi.waitFormethod - by @Dunqing and @sheremet-va in #4113 (d79cb)vi.waitUntilmethod - by @Dunqing and @sheremet-va in #4129 (e0ac9)🐞 Bug Fixes
toThrow- by @Dunqing in #3979 (725a0)testNamePattern- by @segrey in #4103 and #4104 (3c305)test.extenddoesn't work in hooks without test - by @Dunqing in #4065 (175c7)SourceMapInputto fix CYCLIC_CROSS_CHUNK_REEXPORT - by @Dunqing in #4128 (ca70a)🏎 Performance
View changes on GitHub
v0.34.4Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.34.3Compare Source
🚀 Features
allowExternaloption - by @vojvodics and @AriPerkkio in #3894 (c03fa)vitest/reporters- by @Dunqing and @sheremet-va in #3980 (5704b)🐞 Bug Fixes
View changes on GitHub
v0.34.2Compare Source
🚀 Features
--experimental-vm-threads- by @sheremet-va in #3880 (f4e6e)ctx.skip()inside the running test - by @sheremet-va in #3966 (5c88d)🐞 Bug Fixes
execute.d.ts- by @btea in #3970 (0f8e6)?inlinequery is specified - by @thebanjomatic and Adam Hines in #3952 (3891d)🏎 Performance
View changes on GitHub
v0.34.1Compare Source
🐞 Bug Fixes
--experimental-vm-worker-memory-limittotinypool- by @AriPerkkio in #3856 (3c67a)View changes on GitHub
v0.34.0Compare Source
🚨 Breaking Changes
transformModeis now moved toserver.transformMode. This option is highly discouraged to use. If you need to change the transform mode, use the new optiontestTransformModeinstead to control the mode based on the running test, not the current file path. By default, tests withjsdomorhappy-domusewebtransform mode, and tests usingnodeoredgeenvironment usessrmode. If you have a custom environment, it should providetransformModeproperty.coverage.reportOnFailureby default - by @AriPerkkio in #3615 (0c6f6)@vitest/coverage-c8package - by @AriPerkkio in #3614 (a90d6)@vitest/coverage-c8is no longer supported. Please, use@vitest/coverage-v8instead.experimentalVmThreadspool to run your tests using VM Sandboxes environment. Make sure you understand all pitfalls of this pool before opening an issue.serveroption - by @fenghan34 and @sheremet-va in #3725 (dc4fa)deps.options are now moved toserver.depswith a deprecation warning. Please, consider usingdeps.optimizerinstead ofdeps.inline/deps.external. Ideally, we would like to move away from usingserver.deps.inlinealtogether.vite-node index.ts --watch, you now have to dovite-node --watch index.ts.deps.optimizeris now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options fromoptimizeDepsandssr.optimizeDepswhich are populated by other plugins (like, Svelte).🚀 Features
describe.sequential- by @fenghan34 and @dammy001 in #3771 (86934)--related --watchreruns non-affected tests if they were changed during a run - by @sheremet-va in #3844 (c9aea)🐞 Bug Fixes
defineConfigtype from vite - by @sodatea in #3804 (9c8e3)toStrictEqual- by @Dunqing (52aef)istanbul-lib-instrumentto v6 to fix vulnerable dependency - by @AriPerkkio in #3814 (f3bd9)🏎 Performance
deps.optimizer.webinstead. If you test Node.js applications, consider adding external packages toserver.deps.inline.View changes on GitHub
v0.33.0Compare Source
🚨 Breaking Changes
0.32.0changed the defaultincludeglobs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive.🐞 Bug Fixes
View changes on GitHub
v0.32.4Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.32.3Compare Source
🚀 Features
concurrentoption tosequenceconfig - by @fenghan34 and @sheremet-va in #3604 (f427f)benchname - by @fenghan34 in #3711 (a749a)test.extend- by @fenghan34 in #3554 (2db1a)🐞 Bug Fixes
CTRL+Cto terminate run - by @AriPerkkio in #3642 (fa663)toBeCalledTimes- by @antfu in #3696 (d3640)v8to prevent crash on dynamic CJS files - by @AriPerkkio in #3657 (40f18)retryandrepeats0 - by @Dunqing in #3638 (6d146)hkey - by @AriPerkkio in #3618 (60c36)View changes on GitHub
v0.32.2Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.32.1Compare Source
🚀 Features
registerConsoleShortcutsfromvitest/node- by @deot in #3563 (bc49b)expect.unreachable- by @fenghan34 and @sheremet-va in #3556 (8e385)describe/testname support anonymous function - by @btea in #3562 (3d436)🐞 Bug Fixes
performancefromperf_hooks- by @Max10240 and wangbaolong.wbl in #3578 and #3579 (24ec8)vitest- by @userquin in #3580 (b4ac8)View changes on GitHub
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.