Skip to content

Releases: nuxt/test-utils

v3.19.1

25 May 19:38
6ac7bf4
Compare
Choose a tag to compare

👉 Changelog

compare changes

🩹 Fixes

  • config: Upgrade nuxt devtools + disable vue devtools (#824)
  • module: Import defineConfig from vite (467886ea)

🏡 Chore

  • Don't ignore @nuxt/devtools upgrade (3ae47b43)

❤️ Contributors

v3.19.0

15 May 14:54
dce1c41
Compare
Choose a tag to compare

👉 Changelog

compare changes

🚀 Enhancements

  • config: Support vitest workspaces with defineVitestProject (#1258)
  • config: Add nuxt environment browser-testing support (#1294)

🩹 Fixes

  • config: Use UserConfig rather than InlineConfig from vite (e2a1598b)

💅 Refactors

  • Rename core -> e2e internally (a81c4498)

✅ Tests

  • Set environment: 'nuxt' for browser testing example (96769e55)
  • Add browser mode tests for nuxt/content components (#1284)

❤️ Contributors

v3.18.0

03 May 16:35
aeb3583
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • e2e: Add support for bun test runner (#1264)
  • config: Support vitest browser mode (#1271)

🩹 Fixes

  • vitest-environment: Respect custom app.baseURL in manifest path (#1213)
  • runtime-utils: Wrap WrapperComponent default slot in function (#1244)

💅 Refactors

  • Rename setup hook to beforeAll for clarity (#1221)

📖 Documentation

  • Consistent URL formatting (#1217)

✅ Tests

❤️ Contributors

v3.17.2

08 Mar 16:52
0e86cfb
Compare
Choose a tag to compare

3.17.2 is the next patch release.

Timetable: to be announced.

👉 Changelog

compare changes

🩹 Fixes

  • vitest-environment: Migrate from unenv -> node-mock-http (#1179)

🏡 Chore

❤️ Contributors

v3.17.1

02 Mar 23:44
4c71341
Compare
Choose a tag to compare

3.17.1 is the next patch release.

Timetable: to be announced.

👉 Changelog

compare changes

🩹 Fixes

  • runtime-utils: Ensure event listeners props are called (#1135)

❤️ Contributors

v3.17.0

21 Feb 09:22
f204f80
Compare
Choose a tag to compare

👉 Changelog

compare changes

🚀 Enhancements

  • runtime-utils: Allow modifying + removing endpoints (fee81510)

✅ Tests

❤️ Contributors

v3.16.0

20 Feb 20:45
39c6ca3
Compare
Choose a tag to compare

3.16.0 is the next minor release.

👀 Highlights

You'll still see a warning from vitest:

Vitest  "environmentMatchGlobs" is deprecated. Use "workspace" to define different configurations instead.

You can ignore this for the moment. I expect we will resolve this in the next major (which will drop support for vitest < 3).

👉 Changelog

compare changes

🚀 Enhancements

  • e2e: Add teardownTimeout option to set timeout for afterAll hook (af2ddf29)

🩹 Fixes

  • vitest-environment: Respect any configured buildId (3f8599e6)
  • vitest-environment: Use correct base (c5ba2bac)
  • runtime-utils: Pass custom global components to mountSuspended (#1081)
  • runtime-utils: Allow overwriting object props in mountSuspended (#1078)
  • runtime-utils: Do not use defu for merging (#1089)
  • runtime-utils: Proxy wrapper props (#1099)
  • runtime-utils: Define $attrs in component render context (#1108)
  • module: Ensure vi.hoisted is injected after vi import (#1128)
  • runtime-utils: Proxy wrapper.element from mountSuspended (#1110)

📦 Build

  • Use typesVersions for node10 declarations (f19cee64)

🏡 Chore

  • Update vitest peerDep version (c4ee71a4)
  • Add root package to workspace (d7c63b5c)

🤖 CI

  • Force latest corepack (99ae34c0)
  • Add new release workflow (#1131)

❤️ Contributors

v3.15.4

12 Jan 10:54
d9c5fea
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • e2e: Use tinyexec to resolve nuxi binary (7df895e3)
  • e2e: Increase default windows setup timeout (6f38dd58)

✅ Tests

❤️ Contributors

v3.15.3

11 Jan 22:49
68b889a
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • e2e: Use node:path to resolve dist directory (#1054)

❤️ Contributors

v3.15.2

11 Jan 22:19
e47878d
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • module: Remove setInterval from the presets (#1035)

🏡 Chore

  • Add devtools-kit types + specify vite in jest fixture (c37781b5)
  • Double windows timeout (45e16131)

✅ Tests

  • Update windows timeout for e2e test (1acb335b)

❤️ Contributors