Nuxt Test Utils v4.0.3

nuxt/test-utils
Share
Summary
Nuxt Test Utils v4.0.3 introduces several important fixes including lazy imports for root components in mount helpers, conditional insertion of compiler options, and improved handling of NuxtLink's `isActive` slot props. Additionally, it ensures that test files are excluded from Nuxt plugin registration and enables sourcemaps when vitest coverage is activated, enhancing the testing experience for developers.

Full release notes

4.0.3 is the next patch release.

👉 Changelog

compare changes

🩹 Fixes

  • runtime-utils: Lazily import root-component in mount + render helpers (#1665)
  • runtime-utils: Insert compilerOptions conditionally (#1659)
  • config: Enable sourcemaps when vitest coverage is enabled (#1674)
  • module: Exclude test files from Nuxt plugin registration (#1666)
  • runtime-utils: Provide NuxtLink isActive slot props (#1640)
  • e2e: Wait for HTTP readiness before resolving startServer (#1675)

🏡 Chore

  • Fix typo (#1663)
  • Bump nitro and nuxt pins in nitro-v3 example (#1678)

❤️ Contributors

  • Daniel Roe (@danielroe)
  • Martin Masevski (@Archetipo95)
  • Ryota Watanabe (@wattanx)
  • Jan Müller (@DerYeger)
  • Yoshihiro Yamaguchi (@yamachi4416)
  • Sai Asish Y (@SAY-5)

Latest Nuxt Test Utils releases

All releases