@nuxt/test-utils
4.3.4 · 16 Oct 2026MIT535.3k / weekRepositoryHomepagenpmAtom feed
81 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 4.x · latest line
4.3.4
16 Oct 2026runtime: test failure when module cached
runtime-utils: support registerEndpoint with FormData in jsdom
e2e: restore test context before running
setuphooks
v4.3.4 is the next patch release.
Changelog
Fixes
runtime: test failure when module cached
runtime-utils: support registerEndpoint with FormData in jsdom
e2e: restore test context before running
setuphookse2e: apply
nuxtConfigoverrides to dev serverconfig: prefer
h3version from nitro pathmodule: apply vitest setup only when loaded from vitest config
config: respect default resolve conditions in vitest browser mode
module: pass required token to open vitest ui in devtools
4.3.3
2 Oct 2026use h3's
toWebHandlerinstead ofnode-mock-httpresolve
h3from the projectreplace
estree-walkerwithoxc-walker
v4.3.3 is the next patch release.
Changelog
Performance
use h3's
toWebHandlerinstead ofnode-mock-httpresolve
h3from the projectreplace
estree-walkerwithoxc-walkerreplace
local-pkgwithexsolvereplace
c12with native dotenv parsinginline
destrandsculeusagedrop
node-fetch-nativepolyfillreplace
nypmwithpackage-manager-detector
Fixes
runtime-utils: type
registerEndpointagainst the projecth3e2e: restore console after use nuxt kit
config: exclude aliased mock packages from optimizeDeps in browser mode
runtime: setup nuxt once per worker in no-isolate
browser: correct render helper options type
4.3.2
7 Sep 2026vitest-environment: keep
vitest/environmentsimport opaque to rolldown
v4.3.2 is the next patch release.
Changelog
Fixes
vitest-environment: keep
vitest/environmentsimport opaque to rolldown
4.3.1
7 Sep 2026deps: allow vitest
^5as peer dependency
v4.3.1 is the next patch release.
Changelog
Fixes
deps: allow vitest
^5as peer dependency
4.3.0
7 Sep 2026runtime-utils: add
unmockNuxtImporthelperconfig: support vitest 5
config: default nuxt test pattern to nested for simple non-nuxt setup
v4.3.0 is the next minor release.
Changelog
Enhancements
runtime-utils: add
unmockNuxtImporthelperconfig: support vitest 5
Fixes
config: default nuxt test pattern to nested for simple non-nuxt setup
4.2.0
27 Aug 2026browser: add render helper for vitest browser mode
runtime-utils: add spy option to mount + render helpers
runtime-utils:
mockNuxtImportsourcemap mapped position
v4.2.0 is the next minor release.
Changelog
Enhancements
browser: add render helper for vitest browser mode
runtime-utils: add spy option to mount + render helpers
Fixes
runtime-utils:
mockNuxtImportsourcemap mapped positionconfig: tolerate non-cloneable values when cloning config
e2e: honour
setupTimeoutin playwright + surface server logse2e: add explanation if server exited before being ready
module: handle string presets in auto-imports
config: don't run
includeSourcein both projects indefineVitestConfige2e: use
taskkillto kill processes on windowsconfig: support nuxt v5 with nitro vite environment
4.1.0
27 Jul 2026Reading the note…
4.0.3
27 Apr 2026Reading the note…
4.0.2
9 Apr 2026Reading the note…
4.0.1
8 Apr 2026Reading the note…
4.0.0
7 Feb 2026Reading the note…
- 3.x
3.23.0
6 Jan 2026Reading the note…
3.22.0
4 Jan 2026Reading the note…
3.21.0
4 Dec 2025Reading the note…
3.20.1
25 Oct 2025Reading the note…
3.19.2
1 Jul 2025Reading the note…
3.19.1
25 May 2025Reading the note…
3.19.0
15 May 2025Reading the note…
3.18.0
3 May 2025Reading the note…
3.17.2
8 Mar 2025Reading the note…
3.17.1
2 Mar 2025Reading the note…
3.17.0
21 Feb 2025Reading the note…
3.16.0
20 Feb 2025Reading the note…
3.15.4
12 Jan 2025Reading the note…
3.15.3
11 Jan 2025Reading the note…
3.15.2
11 Jan 2025Reading the note…
3.15.1
6 Dec 2024Reading the note…
3.15.0
5 Dec 2024Reading the note…
3.14.4
19 Oct 2024Reading the note…
3.14.3
7 Oct 2024Reading the note…
3.14.2
10 Sep 2024Reading the note…
3.14.1
13 Aug 2024Reading the note…
3.14.0
26 Jul 2024Reading the note…
3.13.1
20 May 2024Reading the note…
3.13.0
15 May 2024Reading the note…
3.12.1
15 Apr 2024Reading the note…
3.12.0
16 Mar 2024Reading the note…
3.11.0
28 Jan 2024Reading the note…
3.10.0
17 Jan 2024Reading the note…
3.9.0
19 Dec 2023Reading the note…
3.8.1
6 Nov 2023Reading the note…
3.8.0
19 Oct 2023Reading the note…
3.7.4
26 Sep 2023Reading the note…
3.7.3
13 Sep 2023Reading the note…
3.7.2
12 Sep 2023Reading the note…
3.7.1
5 Sep 2023Reading the note…
3.7.0
25 Aug 2023Reading the note…
3.6.5
19 Jul 2023Reading the note…
3.6.4
19 Jul 2023Reading the note…
3.6.3
14 Jul 2023Reading the note…