Skip to content

Releases: nuxt/test-utils

v3.15.1

06 Dec 11:11
313d839
Compare
Choose a tag to compare

compare changes

🩹 Fixes

❤️ Contributors

v3.15.0

05 Dec 15:53
015da2b
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • e2e: Expose NuxtPage playwright type (#1015)
  • playwright: Allow providing default test options (#1001)

🩹 Fixes

  • runtime-utils: Support defineModel in mountSuspended (#1011)
  • core: Bump teardown timeout for jest (3225562e)
  • runtime-utils: Handle reserved props (#1025)
  • vitest-environment: Suppress suspense warning (#1026)
  • runtime-utils: Suppress errors setting unneeded properties (4e9f34b9)
  • e2e: Handle javaScriptEnabled: false (ca06f337)
  • e2e: Use subpath import for distDir string (094acb29)
  • e2e: Remove dirname when calculating distDir (56122b74)
  • e2e: Use nuxtConfig.nitro.output.dir with build: false (#936)

🏡 Chore

  • Upgrade typescript separately (ee6f4c08)
  • Add knip and reduce peer dependencies (4e10bd26)
  • Revert node requirement (bb4345a8)
  • Use installed-check to keep engines.node in sync (ebcc5eff)

✅ Tests

  • Bump jest timeout (00f409c8)
  • Add test case for mountSuspended + #imports (4f3f5032)

🤖 CI

❤️ Contributors

v3.14.4

19 Oct 21:43
d0f875b
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • e2e: Set NODE_ENV when running built server (#969)
  • runtime-utils: Bind this in options api methods (#971)

❤️ Contributors

v3.14.3

07 Oct 10:48
fd46665
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • vitest-environment: Respect custom url in setup (#957)
  • runtime-utils: Pass global directives to mountSuspended (#960)
  • runtime-utils: Pass global directives to renderSuspended (cf1b48ff)
  • runtime-utils: Support options api data, computed + methods (#963)

🏡 Chore

✅ Tests

  • Bump playwright setup time for windows (21ade1f2)

❤️ Contributors

v3.14.2

10 Sep 13:27
f7afe52
Compare
Choose a tag to compare

compare changes

🔥 Performance

  • e2e: Use tinyexec to run commands (#939)

🩹 Fixes

  • config: Exclude new nuxt import-conditions plugin (7cc8f653b)

📖 Documentation

🏡 Chore

  • vitest-environment-nuxt: Specify license is MIT (#919)
  • Release vitest-environment-nuxt (e30c044cf)
  • Update @nuxtjs/i18n separately (3d8955d36)
  • Set compatibilityDate in fixtures (7723f969c)
  • Update vitest type import (05e94fcc4)
  • Trim tag from tinyexec stdout (2b50cfee0)

❤️ Contributors

v3.14.1

13 Aug 11:21
86d09da
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • e2e,config: Provide fallback compatibilityDate (8e01e3f7)
  • module: Don't include type-check plugin in resolved vitest plugins (#911)

📖 Documentation

  • Provide intellisense hints for setup properties (#906)

🏡 Chore

  • Dedupe vitest (6e36b547)
  • Ignore upgrading dependencies for stubbed libs (4329c4dd)

❤️ Contributors

v3.14.0

26 Jul 20:15
587a0b5
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • runtime-utils: Expose setup result from renderSuspended (#852)
  • e2e: Allow overwriting env variables in setup (#903)
  • e2e: Allow running e2e tests against existing server (#803)
  • e2e: Allow updating env in context before setup runs (#812)

🩹 Fixes

  • runtime-utils: Ts-ignore #build/ import until nuxt v3.12 release (66b23ae6)
  • runtime-utils: Allow setProps to replace an array (#877)

🏡 Chore

✅ Tests

  • Bump timeout in windows browser spec (73e2c716)

❤️ Contributors

v3.13.1

20 May 04:10
fcc1060
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Revert execa to v8 for now (fef8b062)
  • config: Force buildId to test manually (25e081e4)
  • runtime-utils: Use appId fallback after tryUseNuxtApp (#849)

🏡 Chore

🤖 CI

  • Run test suite on windows (#851)

❤️ Contributors

v3.13.0

15 May 16:03
ff98d93
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • e2e: Improve types for $fetch (b21d9a54)
  • deps: Upgrade execa to v9 (#843)

🔥 Performance

  • e2e: Don't iterate when cleaning up if nothing registered (#753)

🩹 Fixes

  • e2e: Improve types for fetch and mockLogger (eb40a6a6)
  • e2e: Force string response within startServer (1b182505)
  • e2e: Improve return types for mockLogger (21aa7a2f)
  • runtime: Improve types for renderSuspended and mountSuspended (1636cede)
  • e2e: Revert changes for $fetch inference to unbreak build (dd295d39)
  • vitest: Strongly type vitest environment options (37582c71)
  • module: Correctly filter vite plugins (021824d0)
  • runtime: Preserve setupState return (ab7fd457)
  • playwright: Bump dependency and remove polyfill (#819)
  • runtime: Use effectScope in renderSuspended (#820)
  • e2e: Type $fetch using globalThis instead (b1269edb)
  • Set buildId to nuxt-app for compatibility with nuxt v3.12+ (a00b2c1f)
  • runtime-utils: Use tryUseNuxtApp rather than buildId override (726e0a2d)

🏡 Chore

❤️ Contributors

v3.12.1

15 Apr 14:51
bf553e6
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Publish playwright.d.ts (#797)

❤️ Contributors