Nuxt Test Utils v4.3.4

nuxt/test-utils
Share
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

compare changes

🩹 Fixes

  • runtime: test failure when module cached (#1856)
  • runtime-utils: support registerEndpoint with FormData in jsdom (#1846)
  • e2e: restore test context before running setup hooks (#1855)
  • e2e: apply nuxtConfig overrides to dev server (#1851)
  • config: prefer h3 version 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-detector workspace + deno handling (1d59009c7)

🏡 Chore

  • cleanup example deps, unify vitest, and update knip config (#1840)

❤️ Contributors

  • Yoshihiro Yamaguchi (@yamachi4416)
  • Daniel Roe (@danielroe)

Latest Nuxt Test Utils releases

All releases