Nuxt Test Utils v4.0.3
nuxt/test-utils
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
🩹 Fixes
- runtime-utils: Lazily import root-component in mount + render helpers (#1665)
- runtime-utils: Insert
compilerOptionsconditionally (#1659) - config: Enable sourcemaps when vitest coverage is enabled (#1674)
- module: Exclude test files from Nuxt plugin registration (#1666)
- runtime-utils: Provide NuxtLink
isActiveslot props (#1640) - e2e: Wait for HTTP readiness before resolving
startServer(#1675)
🏡 Chore
❤️ Contributors
- Daniel Roe (@danielroe)
- Martin Masevski (@Archetipo95)
- Ryota Watanabe (@wattanx)
- Jan Müller (@DerYeger)
- Yoshihiro Yamaguchi (@yamachi4416)
- Sai Asish Y (@SAY-5)
