Bumps vitest from 3.2.4 to 4.1.0.
Sourced from vitest's releases.
Vitest 4.1 is out!
This release page lists all changes made to the project during the 4.1 beta. To get a review of all the new features, read our blog post.
... (truncated)
This version was pushed to npm by GitHub Actions, a new releaser for vitest since your current version.
Release notes
v4.1.0
🚀 Features
@kirkwaiblinger in vitest-dev/vitest#9332 (e3e65)
@ronnakamoto and @sheremet-va in vitest-dev/vitest#8842 (841df)
setTickMode to timer controls - by @atscott and @sheremet-va in vitest-dev/vitest#8726 (4b480)
@sheremet-va in vitest-dev/vitest#9448 (3e4b9)
toTestSpecification to reported tasks - by @sheremet-va in vitest-dev/vitest#9464 (1a470)
vi.mock or vi.hoisted are declared outside of top level of the module - by @sheremet-va in vitest-dev/vitest#9387 (5db54)
@Copilot, sheremet-va and @sheremet-va in vitest-dev/vitest#9476 (77d75)
@sheremet-va in vitest-dev/vitest#9478 (de7c8)
aroundEach and aroundAll hooks - by @sheremet-va in vitest-dev/vitest#9450 (2a8cb)
@sheremet-va in vitest-dev/vitest#9529 (b5fd2)
new or all in --update flag - by @sheremet-va in vitest-dev/vitest#9543 (a5acf)
meta in test options - by @sheremet-va in vitest-dev/vitest#9535 (7d622)
test.extend syntax - by @sheremet-va in vitest-dev/vitest#9550 (e5385)
@sheremet-va in vitest-dev/vitest#9587 (99028)
@hi-ogawa and Claude Opus 4.6 in vitest-dev/vitest#9594 (eeb0a)
@macarie in vitest-dev/vitest#9588 (24603)
vitest list to statically collect tests instead of running files to collect them - by @sheremet-va in vitest-dev/vitest#9630 (7a8e7)
--detect-async-leaks - by @AriPerkkio in vitest-dev/vitest#9528 (c594d)
mockThrow and mockThrowOnce - by @thor-juhasz and @sheremet-va in vitest-dev/vitest#9512 (61917)
update: "none" and add docs about snapshots behavior on CI - by @hi-ogawa in vitest-dev/vitest#9700 (05f18)
launchOptions with connectOptions - by @hi-ogawa in vitest-dev/vitest#9702 (f0ff1)
page/locator.mark API to enhance playwright trace - by @hi-ogawa in vitest-dev/vitest#9652 (d0ee5)
test in experimental_parseSpecification - by @jgillick and Jeremy Gillick in vitest-dev/vitest#9235 (2f367)
createSpecification - by @sheremet-va in vitest-dev/vitest#9336 (c8e6c)
runTestFiles as alternative to runTestSpecifications - by @sheremet-va in vitest-dev/vitest#9443 (43d76)
allowWrite and allowExec options to api - by @sheremet-va in vitest-dev/vitest#9350 (20e00)
toTestSpecification - by @sheremet-va in vitest-dev/vitest#9627 (6f17d)
userEvent.wheel API - by @macarie in vitest-dev/vitest#9188 (66080)
filterNode option to prettyDOM for filtering browser assertion error output - by @Copilot, sheremet-va and @sheremet-va in vitest-dev/vitest#9475 (d3220)
@hi-ogawa, Claude Opus 4.6 and @sheremet-va in vitest-dev/vitest#9229 (f865d)
detailsPanelPosition option and button - by @shairez in vitest-dev/vitest#9525 (c8a31)
@macarie in vitest-dev/vitest#9514 (30936)
findElement and enable strict mode in webdriverio and preview - by @sheremet-va in vitest-dev/vitest#9677 (c3f37)
@bomb.sh/tab completions - by @AmirSa12 and @sheremet-va in vitest-dev/vitest#8639 (200f3)
ignore start/stop ignore hints - by @AriPerkkio in vitest-dev/vitest#9204 (e59c9)
coverage.changed option to report only changed files - by @kykim00 and @AriPerkkio in vitest-dev/vitest#9521 (1d939)
onModuleRunner hook to worker.init - by @sheremet-va in vitest-dev/vitest#9286 (e977f)
@sheremet-va and @AriPerkkio in vitest-dev/vitest#9210 (9be61)
Commits
4150b91 chore: release v4.1.0
1de0aa2 fix: correctly identify concurrent test during static analysis (#9846)
c3cac1c fix: use isAgent check, not just TTY, for watch mode (#9841)
eab68ba chore(deps): update all non-major dependencies (#9824)
031f02a fix: allow catch/finally for async assertion (#9827)
3e9e096 feat(reporters): add agent reporter to reduce ai agent token usage (#9779)
0c2c013 chore: release v4.1.0-beta.6
8181e06 fix: hideSkippedTests should not hide test.todo (fix #9562) (#9781)
a8216b0 fix: manual and redirect mock shouldn't load or transform original module...
689a22a fix(browser): types of getCDPSession and cdp() (#9716)
Maintainer changes
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.