Repository navigation
chore: @nuxt/test-utils を 4.3.2 へ更新 - #31
Merged
Merged
Conversation
Move the test utility to the latest 4.3 release that is at least 7 days old. @nuxt/test-utils 4.3.3 is newer but still inside the release-age window.
dc7290
marked this pull request as ready for review
October 9, 2026 04:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
何をアップデートしたか
@nuxt/test-utils4.2.0 → 4.3.2(devDependenciesのレンジは^4.0.0から^4.3.2)まとめた理由
テスト用のパッケージ単体の更新です。Nuxt 本体や ESLint とは別にしています。ロックファイル上、
vitest-environment-nuxtが要求する@nuxt/test-utils@^4.0.0も同じ 4.3.2 に解決しています。主な変更点と Breaking Changes
unmockNuxtImportを追加。Vitest 5 をサポート。単純な非 Nuxt 構成でのテストパターンのデフォルトをネストさせる^5を peer dependency として許容vitest/environmentsの import が Rolldown で不透明になるよう修正このリポジトリには
@nuxt/test-utilsを使ったテストがないため、テストコードの migration はありません。4.3.3(2026-10-02 公開、約7日未満)は
.npmrcのmin-release-age=7に合わせて見送っています。そのリリースではvueが peer dependency に移り、対応する Nuxt バージョンが peer として宣言されます。依存として
vue@^3.5.42が追加され、ロック上は Vue 3.5.43 です。これは test-utils 側の解決で、playground のビルドは引き続き Nuxt 4.5.2 経由の Vue 3.5.42 です。Migration と設定変更
不要です。
dependenciesは変更していません。検証
Node.js 24.20.0(このブランチの
.tool-versions)上で実行し、すべて成功しました。yarn install --frozen-lockfileyarn dev:prepareyarn lintyarn dev:build(playground の production build。Nuxt 4.5.2 / Vue 3.5.42)