This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
Releases: danielroe/nuxt-vitest
Releases · danielroe/nuxt-vitest
v0.11.5
🩹 Fixes
- Add
setupState
type tomountSuspended
return type (#400)
❤️ Contributors
- Daniel Roe daniel@roe.dev
v0.11.4
v0.11.3
🩹 Fixes
- Support components with options API style export (#391)
❤️ Contributors
- Juho Rutila (@nice-game-hints)
v0.11.2
🚀 Enhancements
- Allow
indexedDB
mock + disablingIntersectionObserver
(#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
🩹 Fixes
- Add handler for
builds/meta/dev.json
as well (7988f2e)
📖 Documentation
- Fix typo in README (#367)
🏡 Chore
- Update build command (4746a9a)
❤️ Contributors
- Daniel Roe (@danielroe)
- Jeffrey GONZALES
v0.11.0
🚀 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
- Lint (a5c4c85)
⚠️ Breaking Changes
⚠️ Ignore query params when checking if an endpoint is mocked (a9f406e)
❤️ Contributors
- Daniel Roe daniel@roe.dev
- Yasser Lahbibi (@yassilah)
- Alexander Lichter (@manniL)
- Pooya Parsa pyapar@gmail.com
v0.10.5
🩹 Fixes
- Handle mocking composables that use default export (cf521f4)
- vitest-environment-nuxt: Import
@testing-library/vue
withinrenderSuspended
(#331)
✅ Tests
- Avoid depending on specific number of ticks (99c8444)
❤️ Contributors
- Julien Huang julien.huang@outlook.fr
- Niko-chaffinchicas
- Daniel Roe daniel@roe.dev
v0.10.4
v0.10.3
🚀 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 withmockNuxtImport
(#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
- Correct test assertion (14c7b01)
❤️ Contributors
- Daniel Roe daniel@roe.dev
- Oskar Olsson
- Joaquín Sánchez (@userquin)
- Julien Huang julien.h.dev@gmail.com
- Marijn Kok rinux55@gmail.com