Skip to content

test: upgrade @nuxt/test-utils and reenable nuxt tests#3104

Merged
posva merged 2 commits intov3from
test/nuxt
Feb 13, 2026
Merged

test: upgrade @nuxt/test-utils and reenable nuxt tests#3104
posva merged 2 commits intov3from
test/nuxt

Conversation

@danielroe
Copy link
Member

@danielroe danielroe commented Feb 13, 2026

https://github.com/nuxt/test-utils/releases/tag/v4.0.0

partly reverts 0c53c5e

Summary by CodeRabbit

  • Chores

    • Updated Nuxt and testing dependencies to latest versions.
  • Tests

    • Enhanced test configuration to include Nuxt-specific test coverage and projects.

@github-project-automation github-project-automation bot moved this to 🆕 Triaging in Pinia Roadmap Feb 13, 2026
@danielroe danielroe changed the title test: upgrade @nuxt/test-utils and reenable nuxt tests test: upgrade @nuxt/test-utils and reenable nuxt tests Feb 13, 2026
@netlify
Copy link

netlify bot commented Feb 13, 2026

Deploy Preview for pinia-official canceled.

Name Link
🔨 Latest commit aaa6ebe
🔍 Latest deploy log https://app.netlify.com/projects/pinia-official/deploys/698ef8a275175f0008746b12

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 13, 2026

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This pull request updates Nuxt-related devDependencies to newer versions and activates Nuxt test configuration in Vitest by uncommenting the coverage include path and replacing a commented test project block with an active Nuxt project entry.

Changes

Cohort / File(s) Summary
Nuxt Test Setup
packages/nuxt/package.json, vitest.config.ts
Updated @nuxt/test-utils and nuxt devDependencies to newer versions; enabled Nuxt test coverage and activated @pinia/nuxt test project in Vitest configuration.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 The test files now dance in the Nuxt moonlight,
With vitest projects unlocked, shining bright—
Dependencies bumped with care and grace,
Tests run freely through their new space!

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly describes the main changes: upgrading @nuxt/test-utils and reenabling Nuxt tests, which aligns with modifications in package.json and vitest.config.ts.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into v3

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch test/nuxt

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 and usage tips.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 13, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@pinia/nuxt@3104
npm i https://pkg.pr.new/pinia@3104
npm i https://pkg.pr.new/@pinia/testing@3104

commit: aaa6ebe

@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.87%. Comparing base (2b7feb5) to head (aaa6ebe).
⚠️ Report is 2 commits behind head on v3.

Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #3104      +/-   ##
==========================================
- Coverage   89.42%   82.87%   -6.55%     
==========================================
  Files          10       15       +5     
  Lines         416      473      +57     
  Branches      120      135      +15     
==========================================
+ Hits          372      392      +20     
- Misses         17       51      +34     
- Partials       27       30       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@danielroe danielroe requested a review from posva February 13, 2026 11:44
Copy link
Member

@posva posva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@posva posva merged commit 4a204d6 into v3 Feb 13, 2026
10 of 11 checks passed
@posva posva deleted the test/nuxt branch February 13, 2026 13:18
@github-project-automation github-project-automation bot moved this from 🆕 Triaging to ✅ Done in Pinia Roadmap Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants