Nuxt Test Utils v4.3.4
nuxt/test-utils
Summary
Nuxt Test Utils v4.3.4 addresses several important fixes, including resolving test failures related to module caching and enhancing support for FormData in jsdom. Additionally, it restores test context before `setup` hooks in e2e tests and applies `nuxtConfig` overrides to the dev server, improving overall testing reliability.
Full release notes
v4.3.4 is the next patch release.
👉 Changelog
🩹 Fixes
- runtime: test failure when module cached (#1856)
- runtime-utils: support registerEndpoint with FormData in jsdom (#1846)
- e2e: restore test context before running
setuphooks (#1855) - e2e: apply
nuxtConfigoverrides to dev server (#1851) - config: prefer
h3version from nitro path (#1844) - module: apply vitest setup only when loaded from vitest config (#1834)
- config: respect default resolve conditions in vitest browser mode (#1843)
- module: pass required token to open vitest ui in devtools (#1841)
💅 Refactors
- module: use
package-manager-detectorworkspace + deno handling (1d59009c7)
🏡 Chore
- cleanup example deps, unify vitest, and update knip config (#1840)
❤️ Contributors
- Yoshihiro Yamaguchi (@yamachi4416)
- Daniel Roe (@danielroe)
