build(deps-dev): Bump vitest from 5.0.5 to 5.1.0
Merged
DE
19h ago+97+97+01234567890123456789-97-97-01234567890123456789
Bumps vitest from 5.0.5 to 5.1.0.
Release notes
Sourced from vitest's releases.
v5.1.0
🚀 Features
- Add
--last-failedto run only failed tests - by@sheremet-vain vitest-dev/vitest#11558 (82f63)- Support
Temporal.InstantandTemporal.ZonedDateTimeinvi.setSystemTime()- by@Prajwal2246, Prajwal2246, Claude Opus 5.5 (1M context),@hi-ogawaand Codex (GPT-6) in vitest-dev/vitest#11321 (f150f)- Introduce
--since-last-runflag - by@sheremet-vain vitest-dev/vitest#11516 (08bd9)- Expose per-retry/repeat attempt result - by
@hi-ogawa, Codex (GPT-6) and Claude Opus 5.5 (1M context) in vitest-dev/vitest#11232 (21be4)- Support fake timers for
node:timersandnode:timers/promise- by@hi-ogawa, OpenCode and Codex (GPT-6) in vitest-dev/vitest#10899 (fbe97)- Allow coverage providers to store data in fs module cache - by
@AriPerkkioin vitest-dev/vitest#11747 (54a2b)- Interactively review failed snapshots - by
@macarieand@hi-ogawain vitest-dev/vitest#11325 (54e5b)- browser:
- Mock modules through an import map - by
@sheremet-vain vitest-dev/vitest#11534 (707f8)- Drop experimental label from trace view - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11518 (44c3c)- Introduce experimental
pointerAPI - by@macariein vitest-dev/vitest#10780 (5dc09)- Capture aria snapshot in trace view - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11492 (0cc39)- Show trace steps timeline on terminal on test failure - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11594 (973dc)- Add failure-only trace view mode - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11612 (d5d7d)- Enable failure-only trace view by default - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11766 (f37b6)- coverage:
- V8 to support
ignoreNodeoption - by@erickserraand@AriPerkkioin vitest-dev/vitest#11688 (e02db)- experimental:
- Add trace timeline for node - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11753 (4e985)- Add message option to vi.waitFor and vi.waitUntil - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11754 (fd145)🐞 Bug Fixes
- Rerun setup files after
--changedfiltering - by@sheremet-vain vitest-dev/vitest#11621 (3a39c)- Return the mock to concurrent imports - by
@sheremet-vain vitest-dev/vitest#11623 (1453b)- Don't fail on console log pending at teardown - by
@sheremet-vain vitest-dev/vitest#11619 (a60b8)- Reference chai types in every d.ts chunk - by
@sheremet-vain vitest-dev/vitest#11618 (fb150)- Detect mock factory cycles that form later - by
@sheremet-vain vitest-dev/vitest#11642 (e9554)- Skip fs module cache for typed import.meta.glob - by
@sheremet-vain vitest-dev/vitest#11666 (79501)- Run tests that import a deleted file - by
@sheremet-vain vitest-dev/vitest#11669 (80aa1)- Keep syntax highlighting in code frames - by
@sheremet-vain vitest-dev/vitest#11705 (d39f5)- Respect CLI filters when prewarming browsers - by
@sheremet-vaand Benjamin Tang in vitest-dev/vitest#11706 (10947)- Read cached source as utf-8 - by
@juan-fernandezin vitest-dev/vitest#11682 and vitest-dev/vitest#11709 (867a5)- Inherit
watchfrom the root config in projects - by@nstepienand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11724 (77c12)- Prefix expect.poll message to all errors - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11756 (cab58)- Support api.port 0 - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11641 (3667c)- Show attempts in test error logs of retried tests - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11696 (77a94)- Preserve rootDir in project paths - by
@bteain vitest-dev/vitest#11816 (bf96d)- browser:
- Change default port to 23315 - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11640 (a2ec4)- Advance fake timers in actions and expect.element - by
@julienw,@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11242 (68190)- Drop trace view warning without html reporter - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11665 (e6407)- Detect shared chunks via the optimizer - by
@sheremet-vain vitest-dev/vitest#11661 (e2e9c)- Clear screenshot stability timeout - by
@sheremet-vain vitest-dev/vitest#11659 (fbe37)- Measure prepare duration with one clock - by
@sheremet-vain vitest-dev/vitest#11667 (a3ed4)- Keep failure screenshot per attempt - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11694 (a5022)- Print trace timeline of each attempt - by
@hi-ogawaand Claude Opus 5.5 (1M context) in vitest-dev/vitest#11695 (27229)
... (truncated)
Commits
7a38449chore: release v5.1.0 (#11838)a5ec316fix(vm): keep assignable accessor globals writable in node environment (#11834)e46c6c1refactor: share trace types and utils (#11825)9e23ce5refactor(snapshot): unify review update withSnapshotStateupdate (#11790)a0e33ccchore: eliminate lint error (#11822)fd145d8feat(experimental): add message option to vi.waitFor and vi.waitUntil (#11754)4e98551feat(experimental): add trace timeline for node (#11753)bf96dadfix: preserve rootDir in project paths (#11816)54e5b8afeat: interactively review failed snapshots (#11325)4277075fix(expect): keep soft .resolves/.rejects error location (#11792)- Additional commits viewable in compare view
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)