Skip to content
Source
Sign inSign up
TanStack/form

chore(vitest): bump to v5 #2457

Mergedharry-whorlow(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/2457/headmerged 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. ⚠️ 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

    2. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit 657cb903bbdfecbe7a6c37634cadaefdea0576e7

      CommandStatusDurationResult
      nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded3m 48sView ↗
      nx run-many --target=build --exclude=examples/**✅ Succeeded36sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-30 11:06:42 UTC

    3. Review the following changes in direct dependencies. Learn more about Socket for GitHub.

      Diff Package Supply Chain
      Security
      Vulnerability Quality Maintenance License
      Updated@​vitest/​coverage-istanbul@​3.2.4 ⏵ 5.0.59910079 +1299 +2100
      Updatedvitest@​3.2.4 ⏵ 5.0.598 +1100 +7579 +198 +1100
      Updated@​analogjs/​vite-plugin-angular@​2.6.2 ⏵ 2.9.29910010096100
      Updated@​analogjs/​vitest-angular@​2.6.2 ⏵ 2.9.299 +110010096 +1100

      View full report

    4. 🚀 Changeset Version Preview

      No changeset entries found. Merging this PR will not cause a version bump for any packages.

    5. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Review in Change Stack →

      No actionable comments were generated in the recent review.

      Recent review info
      Run configuration
      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.yaml is excluded by !**/pnpm-lock.yaml
      Files selected for processing: 4
      • package.json
      • packages/angular-form/package.json
      • packages/lit-form/tests/group.test.ts
      • packages/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

      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.ts
      Vitest and @vitest/coverage-istanbul now 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-angular and @analogjs/vitest-angular now use version range ^2.9.2.
      Priority: Low

      Estimated code review effort: 2 (Simple) | ~10 minutes

      Change: Other

      Suggested reviewers: crutchcorn

      Merge Risk: Minimal · up to 657cb

      The dependency and test setup updates are compatible with the repository's declared CI runtime and are mergeable.

      Pre-merge checks: Passed 4 · Failed 1
      Failed Failed checks: 1 warning
      Check nameStatusExplanationResolution
      Description checkWarningNo 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 Passed checks: 4 passed
      Check nameStatusExplanation
      Title checkPassedThe title clearly identifies the primary change: upgrading Vitest to version 5.
      Docstring CoveragePassedNo 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 checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck 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.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    6. More templates

      @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@2457

      commit: 657cb90

    7. :warning: Please install the 'codecov app svg image' 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.