chore(vitest): bump to v5 #2457
main fromrefs/pull/2457/head·merged by harry-whorlow(GitHub profile, opens in a new tab) Summary by CodeRabbit#
Chores
- Updated the project’s testing tools to newer versions, including the tools used for Angular package testing.
Tests
- Updated test setup to use the Vitest-compatible Testing Library matchers.
- 1
View your CI Pipeline Execution ↗ for commit 657cb903bbdfecbe7a6c37634cadaefdea0576e7
Command Status Duration Result nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded 3m 48s View ↗ nx run-many --target=build --exclude=examples/**✅ Succeeded 36s View ↗
☁️ Nx Cloud last updated this comment at
2026-10-30 11:06:42UTCReview the following changes in direct dependencies. Learn more about Socket for GitHub.
Diff Package Supply Chain
SecurityVulnerability Quality Maintenance License @vitest/coverage-istanbul@3.2.4 ⏵ 5.0.5 +12
+2
vitest@3.2.4 ⏵ 5.0.5 +1
+75
+1
+1
@analogjs/vite-plugin-angular@2.6.2 ⏵ 2.9.2 @analogjs/vitest-angular@2.6.2 ⏵ 2.9.2 +1
+1
🚀 Changeset Version Preview#
No changeset entries found. Merging this PR will not cause a version bump for any packages.
No actionable comments were generated in the recent review.
Recent review info-
Run configuration-
- Source mode: Auto
- Repository: TanStack/form
- Branch: vitest-upgrade
- File: .coderabbit.yaml
- Commit: 657cb90
- Layers: Repository YAML
- Review profile: CHILL
- Plan: Advanced
- Run ID:
915ad366-898b-47dc-83d3-55e5e68dd4f2
Commits-
Reviewing files that changed from the base of the PR and between ed2f320d310d99e4a1314bdf860b33f7effb9f92 and 657cb903bbdfecbe7a6c37634cadaefdea0576e7.
Files ignored due to path filters: 1-
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
Files selected for processing: 4-
package.jsonpackages/angular-form/package.jsonpackages/lit-form/tests/group.test.tspackages/lit-form/tests/simple.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
-
Walkthrough
-
The pull request updates Vitest and Analog Angular development dependency ranges. It also switches two Lit test setup imports to the Vitest-specific jest-dom entry point.
Changes: Test tooling updates
Priority:Layer / File(s) Summary Vitest dependencies and Lit test setup
package.json,packages/lit-form/tests/group.test.ts,packages/lit-form/tests/simple.test.tsVitest and @vitest/coverage-istanbulnow use version range^5.0.5. Both Lit tests import@testing-library/jest-dom/vitest.Angular development dependencies
packages/angular-form/package.json@analogjs/vite-plugin-angularand@analogjs/vitest-angularnow use version range^2.9.2. LowEstimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Suggested reviewers:
crutchcorn
Merge Risk:
Minimal · up to657cb-
The dependency and test setup updates are compatible with the repository's declared CI runtime and are mergeable.
Pre-merge checks:
4 · 1-
Failed checks: 1 warningCheck name Status Explanation Resolution Description check No pull request description was provided. The required Changes, Checklist, and Release Impact sections are missing. Add a description that follows the repository template. Describe the Vitest upgrade and its motivation, complete the checklist, and state whether the change is dev-only or requires a changeset. Passed checks: 4 passed-
Check name Status Explanation Title check The title clearly identifies the primary change: upgrading Vitest to version 5. Docstring Coverage No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… Linked Issues check Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Check skipped because no linked issues were found for this pull request. Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 2 files. (2 skipped: 2 unsupported.)
-
-
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment `@coderabbitai help` to get the list of available commands.-
More templates
- @tanstack/form-example-angular-array
- @tanstack/form-example-angular-large-form
- @tanstack/form-example-angular-multi-step-wizard
- @tanstack/form-example-angular-simple
- @tanstack/form-example-angular-standard-schema
- @tanstack/form-example-preact-multi-step-wizard
- @tanstack/form-example-preact-simple
- @tanstack/form-example-react-array
- @tanstack/form-example-react-compiler
- @tanstack/form-example-react-composition
- @tanstack/form-example-react-devtools
- @tanstack/form-example-react-dynamic
- @tanstack/form-example-react-expo
- @tanstack/field-errors-from-form-validators
- @tanstack/form-example-react-large-form
- @tanstack/form-example-react-multi-step-wizard
- @tanstack/form-example-react-next-server-actions
- @tanstack/form-example-react-next-server-actions-zod
- @tanstack/form-example-react-query-integration
- @tanstack/form-example-remix
- @tanstack/form-example-react-simple
- @tanstack/form-example-react-standard-schema
- @tanstack/form-example-react-tanstack-start
- @tanstack/form-example-react-ui-libraries
- @tanstack/form-example-solid-array
- @tanstack/form-example-solid-devtools
- @tanstack/form-example-solid-large-form
- @tanstack/form-example-solid-multi-step-wizard
- @tanstack/form-example-solid-simple
- @tanstack/form-example-solid-standard-schema
- @tanstack/form-example-svelte-array
- @tanstack/form-example-svelte-large-form
- @tanstack/form-example-svelte-multi-step-wizard
- @tanstack/form-example-svelte-simple
- @tanstack/form-example-svelte-standard-schema
- @tanstack/form-example-vue-array
- @tanstack/form-example-vue-multi-step-wizard
- @tanstack/form-example-vue-simple
- @tanstack/form-example-vue-standard-schema
- @tanstack/form-example-lit-array
- @tanstack/form-example-lit-large-form
- @tanstack/form-example-lit-multi-step-wizard
- @tanstack/form-example-lit-simple
- @tanstack/form-example-lit-standard-schema
- @tanstack/form-example-lit-ui-libraries
@tanstack/angular-form
npm i https://pkg.pr.new/@tanstack/angular-form@2457@tanstack/form-core
npm i https://pkg.pr.new/@tanstack/form-core@2457@tanstack/form-devtools
npm i https://pkg.pr.new/@tanstack/form-devtools@2457@tanstack/lit-form
npm i https://pkg.pr.new/@tanstack/lit-form@2457@tanstack/preact-form
npm i https://pkg.pr.new/@tanstack/preact-form@2457@tanstack/react-form
npm i https://pkg.pr.new/@tanstack/react-form@2457@tanstack/react-form-devtools
npm i https://pkg.pr.new/@tanstack/react-form-devtools@2457@tanstack/react-form-nextjs
npm i https://pkg.pr.new/@tanstack/react-form-nextjs@2457@tanstack/react-form-remix
npm i https://pkg.pr.new/@tanstack/react-form-remix@2457@tanstack/react-form-start
npm i https://pkg.pr.new/@tanstack/react-form-start@2457@tanstack/solid-form
npm i https://pkg.pr.new/@tanstack/solid-form@2457@tanstack/solid-form-devtools
npm i https://pkg.pr.new/@tanstack/solid-form-devtools@2457@tanstack/svelte-form
npm i https://pkg.pr.new/@tanstack/svelte-form@2457@tanstack/vue-form
npm i https://pkg.pr.new/@tanstack/vue-form@2457commit:
657cb90:warning: Please install the
to ensure uploads and comments are reliably processed by Codecov.
Codecov Report#
:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 89.82%. Comparing base (
6892ed0) to head (657cb90). :warning: Report is 283 commits behind head on main. :exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.Additional details and impacted files
@@ Coverage Diff @@ ## main #2457 +/- ## ========================================== - Coverage 90.35% 89.82% -0.53% ========================================== Files 38 66 +28 Lines 1752 3235 +1483 Branches 444 811 +367 ========================================== + Hits 1583 2906 +1323 - Misses 149 295 +146 - Partials 20 34 +14:umbrella: View full report in Codecov by Harness. :loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
LeCarbonator(GitHub profile, opens in a new tab) approved these changes
Sign in to join this conversation.
⚠️ No Changeset found#
Latest commit: 657cb903bbdfecbe7a6c37634cadaefdea0576e7
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR