chore(deps): update vitest monorepo to v4 (major) #5
+2
−2
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.34.4
->^4.0.0
^0.34.4
->^4.0.0
Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
v4.0.1
Compare Source
🐞 Bug Fixes
getBuiltins
check - by @sheremet-va in #8765 (81000)View changes on GitHub
v4.0.0
Compare Source
🚨 Breaking Changes
'basic'
reporter - by @AriPerkkio in #7884 (82fcf)vitest/node
exports - by @sheremet-va in #8197 (dc848)vitest/node
instead - by @sheremet-va in #8200 (1e60c)workspace
option in favor ofprojects
- by @sheremet-va in #8218 (76fb7)--standalone
when CLI filename filter is used - by @AriPerkkio in #8262 (013bf)minWorkers
and set it automatically to 0 in non watch mode - by @sheremet-va in #8454 (2c2d1)tree
reporter - by @sheremet-va and @AriPerkkio in #8500 (25fd3)tinypool
- by @AriPerkkio and @sheremet-va in #8705 (4822d)todo
if no function is passed down totest
ordescribe
- by @sheremet-va in #8346 (1a81c)🚀 Features
onUnhandledError
callback - by @sheremet-va in #8162 (924cb)expect.assert
for type narrowing - by @sheremet-va in #8695 (fe589)displayAnnotations
option togithub-options
- by @sheremet-va in #8706 (4a66d)experimental_parseSpecifications
- by @sheremet-va in #8408 (fdeb2)enableCoverage
anddisableCoverage
methods - by @sheremet-va and @AriPerkkio in #8412 (61eb7)getGlobalTestNamePattern
method - by @sheremet-va in #8438 (bdb70)relativeModuleId
toTestModule
- by @sheremet-va in #8505 (3be09)getSeed
method - by @sheremet-va in #8592 (438c4)toBeInViewport
utility method to assert element is in viewport or not - by @Shinyaigeek in #8234 (ceed5)vitest init
cli command - by @thejackshelton in #8330 (1638b)toMatchScreenshot
for Visual Regression Testing - by @macarie in #8041 (d45f9)trackUnhandledErrors
option - by @sheremet-va in #8386 (c0ec0)length
property to locators,toHaveLength
now accepts locators - by @sheremet-va in #8512 (2308c)options
onBrowserProviderOption
- by @sheremet-va in #8609 (0d0e5)--inspect
option in webdriverio - by @sheremet-va in #8613 (38adc)autoUpdate
to support percentage formatting - by @Battjmo and @AriPerkkio in #8456 (99e01)toBeNullable
expect function to check provided value is nullish - by @Shinyaigeek and @sheremet-va in #8294 (eeec5)automocker
entry - by @sheremet-va in #8301 (e9c92)🐞 Bug Fixes
test.extend
- by @AriPerkkio in #8278 (43977)--changed
flag support tovitest list
command - by @haakonjackfloat in #8270 and #8272 (e71a5)browser
- by @sheremet-va in #8334 (0417a)oxc
instead ofesbuild
onrolldown-vite
- by @hi-ogawa in #8378 (e922e)stacks
property in Node.js context - by @sheremet-va in #8392 (b825e)import.meta.resolve
on Vite 7 - by @hi-ogawa in #8493 (549d3)expect.poll
assertion fails - by @sheremet-va in #8483 (fb450)useFakeTimers
is called multiple times - by @sheremet-va in #8504 (ed7e3)expect.extend
matchers - by @lzl0304 in #8520 (96945)globalSetup
files - by @sheremet-va in #8534 (8978a)$
and%
formatting totest.for/each
title - by @hi-ogawa in #8557 (ea6d7)"./*"
with specific files in vitest package - by @hi-ogawa in #8560 (ce746)optimizeDeps.include
for browser mode - by @jake-danton in #8570 (cdcf7)engines
field to drop Node 18 support - by @sheremet-va in #8608 (9a0bf)base
option doesn't crash vitest - by @sheremet-va in #8760 (9f0ec)locator.element()
returnsHTMLElement
orSVGElement
- by @sheremet-va in #8440 (c1ac1)vite
directly - by @sheremet-va in #8541 (d7fca)not.toBeInTheDocument()
- by @sheremet-va in #8751 (f5d06)objectContaining
expect utility to have more compatibility to jest's one - by @Shinyaigeek in #8241 (480be)--project
filter - by @gtbuchanan in #7885 (761be)vitest:coverage-transform
plugin - by @AriPerkkio in #8477 (ff517)coverage.exclude
- by @sheremet-va in #8731 (c9c30)regexpHoistable
to allow whitespace before parentheses - by @cszhjh in #8231 (a0f9a)resolvedSources
correctly - by @sheremet-va in #8736 (8fc52)vitest --standalone
- by @AriPerkkio in #8248 (37cc2)config.include
option withconfig.browser.instances[].include
option if it is specified - by @Shinyaigeek in #8260 (010fc)🏎 Performance
process.title
- by @sheremet-va in #8453 (0a766)@vitest/expect
- by @sheremet-va in #8461 (cc98c)workerId
from a global object - by @sheremet-va in #8507 (46b13)meta.resolve
flag instead of a custom loader - by @sheremet-va in #8567 (2e063)View changes on GitHub
v3.2.4
Compare Source
🐞 Bug Fixes
vitest run --watch
should be watch-mode - by @AriPerkkio in #8128 (657e8)--shard x/<count>
exceeds count of test files - by @AriPerkkio in #8112 (8a18c)minWorkers
when onlymaxWorkers
specified - by @AriPerkkio in #8110 (14dc0)task.meta
should be available in custom reporter's errors - by @AriPerkkio in #8115 (27df6)View changes on GitHub
v3.2.3
Compare Source
🚀 Features
🐞 Bug Fixes
expect.any
return type - by @sheremet-va in #8129 (47514)process.send()
- by @AriPerkkio in #8125 (dfe81)View changes on GitHub
v3.2.2
Compare Source
🚀 Features
🐞 Bug Fixes
createTesters
call on the main thread - by @sheremet-va in #8101 (142c7)vitest-browser-*
packages - by @sheremet-va in #8103 (247ef)toEqual
- by @dubzzz in #8094 (02ec8)dot
reporter to work in non interactive terminals - by @bstephen1 and @AriPerkkio in #7994 (6db9f)View changes on GitHub
v3.2.1
Compare Source
🐞 Bug Fixes
DeeplyAllowMatchers
- by @sheremet-va in #8078 (30ab4)View changes on GitHub
v3.2.0
Compare Source
🚀 Features
ctx.signal
- by @sheremet-va in #7878 (e761f)test.name
- by @AriPerkkio in #7809 (4af5d)vi.mockObject
to automock any object - by @hi-ogawa and @sheremet-va in #7761 (465bd)watchTriggerPatterns
option - by @sheremet-va in #7778 (a0675)workspace
in favor ofprojects
- by @sheremet-va and @AriPerkkio in #7923 (41beb)sequence.groupOrder
option - by @sheremet-va in #7852 (d1a1d)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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.