[Snyk] Upgrade vitest from 1.6.1 to 3.1.1 #116
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.
Snyk has created this PR to upgrade vitest from 1.6.1 to 3.1.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 55 versions ahead of your current version.
The recommended version was released 22 days ago.
Release notes
Package name: vitest
🐞 Bug Fixes
View changes on GitHub
🚀 Features
%$
option to add number of the test to its title - by @ kemuridama in #7412 (df347)diff.maxDepth
option and set non-Infinity
value as a default to reduce crash - by @ hi-ogawa in #7481 (eacab)test.each/for
title formatting - by @ hi-ogawa in #7522 (ea3d6)--configLoader
CLI option - by @ Carnageous and @ hi-ogawa in #7574 (2a852)vitest-browser-lit
tovitest init browser
and docs - by @ EskiMojo14 and @ hi-ogawa in #7705 (5659a)and
,or
andfilter
locators - by @ sheremet-va and @ AriPerkkio in #7463 (63949)--silent=passed-only
to log failed tasks only - by @ AriPerkkio in #7530 (f9e1c)test.scoped
to overridetest.extend
fixtures per-suite - by @ sheremet-va in #7233 (e5851)context.skip(boolean)
- by @ sheremet-va and @ AriPerkkio in #7659 (6adec)🐞 Bug Fixes
diff.expand: false
as default - by @ hi-ogawa in #7697 (f3420)--hideSkippedTests
should hide suites too - by @ AriPerkkio in #7695 (ba9b5)🏎 Performance
View changes on GitHub
🚀 Features
and
,or
andfilter
locators - by @ sheremet-va and @ AriPerkkio in #7463 (63949)test.scoped
to overridetest.extend
fixtures per-suite - by @ sheremet-va in #7233 (e5851)🐞 Bug Fixes
--hideSkippedTests
should hide suites too - by @ AriPerkkio in #7695 (ba9b5)View changes on GitHub
🚀 Features
%$
option to add number of the test to its title - by @ kemuridama in #7412 (df347)diff.maxDepth
option and set non-Infinity
value as a default to reduce crash - by @ hi-ogawa in #7481 (eacab)test.each/for
title formatting - by @ hi-ogawa in #7522 (ea3d6)--silent=passed-only
to log failed tasks only - by @ AriPerkkio in #7530 (f9e1c)context.skip(boolean)
- by @ sheremet-va and @ AriPerkkio in #7659 (6adec)View changes on GitHub
🐞 Bug Fixes
ctx.skip()
asnever
- by @ sirlancelot in #7608 (09f35)resolveConfig
API - by @ hi-ogawa in #7623 (db14a)toHaveBeenCalledWith(asymmetricMatcher)
withundefined
arguments - by @ hi-ogawa in #7624 (0fb21)getState().testPath
during collection with no isolation - by @ hi-ogawa in #7640 (3fb3f)coverage.all
- by @ AriPerkkio in #7597 (422ba)buildStart
- by @ hi-ogawa in #7652 (29f5a)removeEventListener
is bound to worker - by @ joelgallant in #7631 (ff42b)View changes on GitHub
🐞 Bug Fixes
@ vitest/spy
- by @ mrginglymus in #7575 (7f7ff)beforeEach/All
cleanup callback timeout - by @ hi-ogawa in #7500 (0c292)Task.suite
initialization - by @ hi-ogawa in #7414 (ca9ff)buildStart
on Vite 6 - by @ hi-ogawa in #7480 (c0f47)View changes on GitHub
🐞 Bug Fixes
🏎 Performance
View changes on GitHub
🐞 Bug Fixes
getMockedSystemTime
foruseFakeTimer
- by @ hi-ogawa in #7405 (03912)queueMicrotask
from default fake timers to not break node fetch - by @ hi-ogawa in #7505 (167a9)tinyglobby
instead offast-glob
- by @ benmccann in #7504 (b62ac)toHaveClass
typing - by @ hi-ogawa in #7383 (7ef23)maxWorkers
- by @ AriPerkkio in