Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nuxt/test-utils

Package Overview
Dependencies
Maintainers
5
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/test-utils - npm Package Versions

23
8

3.14.4

Diff

Changelog

Source

v3.14.4

compare changes

🩹 Fixes

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

❤️ Contributors

danielroe
published 3.14.3 •

Changelog

Source

v3.14.3

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

danielroe
published 3.14.2 •

Changelog

Source

v3.14.2

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

danielroe
published 3.14.1 •

Changelog

Source

v3.14.1

compare changes

🩹 Fixes

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

📖 Documentation

  • Provide intellisense hints for setup properties (#906)

🏡 Chore

❤️ Contributors

danielroe
published 3.14.0 •

Changelog

Source

v3.14.0

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

  • Ignore ts-ignores for now (ac2d9fbb)
  • Add @danielroe to code owners (76f65b3b)
  • Remove ts-ignore now that we're upgraded (16827f7f)

✅ Tests

  • Bump timeout in windows browser spec (73e2c716)

❤️ Contributors

danielroe
published 3.13.1 •

Changelog

Source

v3.13.1

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

danielroe
published 3.13.0 •

Changelog

Source

v3.13.0

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

danielroe
published 3.12.1 •

Changelog

Source

v3.12.1

compare changes

🩹 Fixes

  • Publish playwright.d.ts (#797)

❤️ Contributors

danielroe
published 3.12.0 •

Changelog

Source

v3.12.0

compare changes

🚀 Enhancements

  • e2e: Add 'route'/'hydration' options for page.goto() (#739)
  • e2e: Add playwright runner (#776)

🩹 Fixes

  • config: Remove nuxt's custom vite logger (eca52f5c)

🏡 Chore

  • Force correct typing for e2e subpath (9fd93a8c)
  • Don't run publish step separately (0078d0bc)

🤖 CI

❤️ Contributors

danielroe
published 3.11.0 •

Changelog

Source

v3.11.0

compare changes

🚀 Enhancements

  • vitest-environment: Add support for in-source testing (#651)

🩹 Fixes

  • runtime: Reset modules after nuxt setup runs (#726)

✅ Tests

  • Add example of mocking vue-router (e293cea1)
  • Add example of mocking nuxt useRoute (fe465193)

❤️ Contributors

23
8
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc