Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Releases: danielroe/nuxt-vitest

v0.11.5

20 Nov 16:05
5043a16
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Add setupState type to mountSuspended return type (#400)

❤️ Contributors

v0.11.4

20 Nov 15:36
8445e69
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Expose setupState from mountSuspended (#399)

📖 Documentation

  • Add info about registerEndpoint with method (#395)

🎨 Styles

🤖 CI

  • Run tests on node 18/20 and drop node 16 (da13901)

❤️ Contributors

v0.11.3

06 Nov 15:34
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Support components with options API style export (#391)

❤️ Contributors

v0.11.2

03 Nov 13:53
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Allow indexedDB mock + disabling IntersectionObserver (#361)

🩹 Fixes

  • Respect custom buildAssetsDir when mocking manifests (#371)

📖 Documentation

  • Update to vitest config with .ts extension (#373)

❤️ Contributors

  • Ola Alsaker (@OlaAlsaker)
  • Christian De Jesus IV
  • Erikwu

v0.11.1

03 Nov 12:07
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Add handler for builds/meta/dev.json as well (7988f2e)

📖 Documentation

  • Fix typo in README (#367)

🏡 Chore

❤️ Contributors

v0.11.0

03 Nov 12:09
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • utils: Add method option to registerEndpoint (#346)

🩹 Fixes

  • ⚠️ Ignore query params when checking if an endpoint is mocked (a9f406e)
  • Mock app manifest if required (#354)

📖 Documentation

  • Fix registerEndpoint example (#336)

🏡 Chore

  • Update to latest nuxi (#335)
  • Update to nuxt v3.7.3 (f9d7b73)
  • Bump nuxt versions to v3.7.4 (#353)
  • Explicit type imports (3465a25)
  • Use more explicit type imports (21952b4)
  • More explicit types (80ee333)

✅ Tests

  • Update test to use server rather than live api (b05c3f6)

🎨 Styles

⚠️ Breaking Changes

  • ⚠️ Ignore query params when checking if an endpoint is mocked (a9f406e)

❤️ Contributors

v0.10.5

12 Sep 18:38
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Handle mocking composables that use default export (cf521f4)
  • vitest-environment-nuxt: Import @testing-library/vue within renderSuspended (#331)

✅ Tests

  • Avoid depending on specific number of ticks (99c8444)

❤️ Contributors

v0.10.4

03 Nov 12:09
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Use workspace dependency (6669c4f)

❤️ Contributors

v0.10.3

29 Aug 11:50
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • vitest-environment-nuxt: Allow mocking imports within setup files (#274)
  • Add renderSuspended for use with testing-library (#302)

🩹 Fixes

  • Add node10 types for vitest-environment-nuxt (#307)
  • Add explicit dependencies (32308a6)
  • nuxt-vitest: Default rootId to undefined rather than false (2c95dd0)
  • Drop whatwg-fetch polyfill and update to nuxt v3.7 (#320)
  • Do not inline polyfill (c87b64c)

📖 Documentation

  • Include vi.hoisted as an example with mockNuxtImport (#305)

🏡 Chore

  • Skip test for now (a3dcf71)
  • Fix tests on Windows (#306)
  • Upgrade deps and use inferred .d.mts and .d.cts types (#319)
  • Switch to changelogen (ed27b72)

✅ Tests

❤️ Contributors

v0.10.2

24 Jul 19:20
Compare
Choose a tag to compare

0.10.2 (2023-07-24)

Bug Fixes