github nuxt/test-utils v3.22.0

latest releases: v4.0.3, v4.0.2, v4.0.1...
5 months ago

3.22.0 is the next minor release.

👉 Changelog

compare changes

🚀 Enhancements

  • runtime-utils: Unify logic of mount + render helpers (#1522)
  • module: Run vitest in separate process (#1524)
  • runtime-utils: Allow skipping initial route change (fd77ec066)
  • runtime: Skip route sync emulation when NuxtPage exists (#1530)

🔥 Performance

  • module: Skip nuxt-root stub plugin when building (#1512)

🩹 Fixes

  • runtime-utils: Reject promise on error render + mount helpers (#1503)
  • runtime-utils: Support new .sync method for syncing route (1148c3cf1)
  • e2e: Always override global env options with inline options (c8f881b3d)
  • runtime-utils: Avoid missing render warn on reject render + suspend helpers (#1520)
  • e2e: Use server.deps rather than deps (2b3c86921)
  • config: Also call sync() in initial setup (ec555192c)
  • module: Use devtools:before hook instead of direct config check (#1532)
  • config: Do not override vitest root with nuxt rootDir (#1531)

💅 Refactors

  • runtime-utils: Do not export addCleanup (86b4998bb)
  • module: Extract nuxt environment options plugin (5ada22a9f)

📖 Documentation

  • Fix link to module authors testing guide (#1511)

🏡 Chore

✅ Tests

  • Use local kit version for module (79f1e14d5)
  • Add defaultLocale in i18n test (059988fc3)
  • Avoid definePageMeta compiler-hint warning (#1523)

🤖 CI

❤️ Contributors

Don't miss a new test-utils release

NewReleases is sending notifications on new releases.