github nuxt/test-utils v4.2.0

5 hours ago

v4.2.0 is the next minor release.

👉 Changelog

compare changes

🚀 Enhancements

  • browser: add render helper for vitest browser mode (#1725)
  • runtime-utils: add spy option to mount + render helpers (#1762)

🩹 Fixes

  • runtime-utils: mockNuxtImport sourcemap mapped position (#1787)
  • config: tolerate non-cloneable values when cloning config (#1771)
  • e2e: honour setupTimeout in playwright + surface server logs (#1785)
  • e2e: add explanation if server exited before being ready (#1761)
  • module: handle string presets in auto-imports (#1784)
  • config: don't run includeSource in both projects in defineVitestConfig (#1763)
  • e2e: use taskkill to kill processes on windows (#1760)
  • config: support nuxt v5 with nitro vite environment (#1758)

🏡 Chore

  • avoid missing file extension warning in test/examples (#1775)
  • exempt first-party packages from pnpm minimumReleaseAge (#1774)
  • replace latest ranges with caret ranges (#1773)
  • move vite environment api tests to example tests (#1755)

✅ Tests

  • re-enable bun browser e2e on windows (#1791)

🤖 CI

  • migrate to uppt for release workflow (#1792)

🎉 New Contributors

❤️ Contributors

Don't miss a new test-utils release

NewReleases is sending notifications on new releases.