github nuxt/test-utils v4.0.1

latest releases: v4.0.3, v4.0.2
one month ago

👉 Changelog

compare changes

🩹 Fixes

  • config: Rename deps.optimizer.web to client for vitest4 (#1593)
  • runtime-utils: Fix mockNuxtImport types when using string target (#1592)
  • config: Pass non-project options for non-nuxt simple setup (#1582)
  • config: Do not import defineConfig from vite (1aa5e8748)
  • runtime: Handle ResourceLoader removal in jsdom v28 (#1611)
  • config,vitest-environment: Directly import peerDeps (#1617)
  • runtime-utils: Align mount options merge w/ vue-test-utils (#1610)
  • vitest-environment: Avoid vitest/environments import warning (#1627)
  • runtime: Avoid error when vue/test-utils is not installed (#1646)
  • config: Prefer project h3 version if present (#1641)

🏡 Chore

  • Bump vitest-environment-nuxt versions (f5ec72127)
  • Use workspace dependency (14fb254a7)
  • Example playwright config improve type annotation for devices (#1581)
  • pkg-pr-new prerelease vitest-environment-nuxt (#1601)
  • Allow explicit any (633c93c2a)
  • Switch unit test target to dir and move type unit tests to test:types (#1618)
  • Update lockfile (8306abf00)

✅ Tests

  • Add failing test for stubbed global provide (#1314)
  • Update assertions deprecated in vitest 4.1 (#1629)
  • Change example/workspace to use glob based projects setup (#1585)

🤖 CI

  • Pin github actions to full-length commit shas (2832fd6d5)
  • Avoid checkout for reproduction comment (e4e67ab09)
  • Rename workflow (99318b9fc)
  • Correctly publish pkg-pr-new prerelease (#1598)

❤️ Contributors

Don't miss a new test-utils release

NewReleases is sending notifications on new releases.