Skip to content

chore(deps-dev): bump vitest from 4.1.11 to 5.0.3 - #403

Merged
HendrikThePendric merged 4 commits into
masterfrom
dependabot/npm_and_yarn/vitest-5.0.3
Oct 21, 2026
Merged

HendrikThePendric merged 4 commits into
masterfrom
dependabot/npm_and_yarn/vitest-5.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Changes on top of the Dependabot bump

Vitest 5 no longer reads custom matcher types from the global jest.Matchers interface (migration guide). Our tsconfig.json loaded the root @testing-library/jest-dom types, which only add to that interface, so every jest-dom matcher (toBeInTheDocument, toHaveAttribute, …) failed type checking. The tests themselves still ran fine.

Known issue

Until testing-library/jest-dom#742 is released, jest-dom's matchers declare the element as their return type instead of void (or a Promise for expect.poll). It only matters when code uses a matcher's return value, which ours doesn't.


Bumps vitest from 4.1.11 to 5.0.3.

Release notes

Sourced from vitest's releases.

v5.0.3

   🐞 Bug Fixes

    View changes on GitHub

v5.0.2

   🐞 Bug Fixes

... (truncated)

Commits

🤖 Generated with Claude Code

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 6, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) October 6, 2026 10:28
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-5.0.3 branch from 90de818 to ff74b6c Compare October 6, 2026 13:04
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.11 to 5.0.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 5.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-5.0.3 branch from ff74b6c to fe6efa2 Compare October 6, 2026 13:13
HendrikThePendric and others added 2 commits October 21, 2026 11:06
Vitest 5 no longer reads custom matcher types from the global
`jest.Matchers` interface, which is all the root
`@testing-library/jest-dom` types augment. Its `/vitest` entry point
augments Vitest's `Assertion` directly, as the Vitest migration guide
recommends.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Only the root jest-dom types pulled in the Jest globals. Nothing loads
them since the switch to the jest-dom vitest entry point.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dhis2-bot

Copy link
Copy Markdown
Contributor

🚀 Deployed on https://pr-403.event-visualizer.netlify.dhis2.org

@dhis2-bot
dhis2-bot temporarily deployed to netlify October 21, 2026 09:39 Inactive
@github-actions
github-actions Bot enabled auto-merge (squash) October 21, 2026 09:41
@dhis2-bot
dhis2-bot temporarily deployed to netlify October 21, 2026 09:42 Inactive
@sonarqubecloud

Copy link
Copy Markdown

@HendrikThePendric
HendrikThePendric merged commit ec11371 into master Oct 21, 2026
17 checks passed
@HendrikThePendric
HendrikThePendric deleted the dependabot/npm_and_yarn/vitest-5.0.3 branch October 21, 2026 09:57

This branch was previously deployed

1 inactive deployment
netlify — 6ae5c9e2 Deployed Oct 21, 2026 by dhis2-bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants