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

Latest commit

 

History

History
329 lines (149 loc) · 16.5 KB

CHANGELOG.md

File metadata and controls

329 lines (149 loc) · 16.5 KB

0.10.2 (2023-07-24)

Bug Fixes

0.10.1 (2023-07-18)

Bug Fixes

  • bump vitest peer dependency range (77a43c1)

0.10.0 (2023-07-17)

Features

  • register all auto-imports for mocking (#254) (8799e6a)

Bug Fixes

  • automatically polyfill fetch within tests (#244) (c3edd06)
  • ensure vitest mocking plugin is placed last (#263) (8a89fe3)

0.9.0 (2023-07-06)

⚠ BREAKING CHANGES

  • you now need to explicitly add happy-dom or jsdom as a dev dependency based on which domEnvironment you want to be in. (happy-dom is set by default.)

Features

  • option to replace happy-dom with jsdom (#121) (f14361f)

Bug Fixes

  • remove support for inline: true and avoid inlining vite/vue (d95e15f)

0.8.7 (2023-06-30)

0.8.6 (2023-06-28)

Bug Fixes

  • allow configuring default starting url, and respect baseURL (23802f1)
  • ensure module is installed when getting nuxt config (b2bcbf4)
  • properly set default route (#232) (674ede3)
  • set rootId when module is enabled (and set test) (7c7c441)

0.8.5 (2023-06-06)

Bug Fixes

  • don't transpile/override NODE_ENV (c26e981)

0.8.4 (2023-06-01)

Bug Fixes

  • import vitest/node via file url (2c1c928), closes #196

0.8.3 (2023-06-01)

Bug Fixes

  • vitest-environment-nuxt: register imports after context is created (434b39b)

0.8.2 (2023-05-30)

Bug Fixes

  • nuxt-vitest: respect cwd as vite test dir (43f2324)

0.8.1 (2023-05-30)

Bug Fixes

  • defer to vue/test-utils for the type of mountSuspended (24d3f0a), closes #191
  • utils: proxy context to capture emitted events in wrapper (8bf8037), closes #175

0.8.0 (2023-05-29)

Features

  • nuxt-vitest: allow configuring nuxt rootDir and overrides (#187) (914cee4)

Bug Fixes

  • move nuxt overrides to environmentOptions (2cc5038)

0.7.2 (2023-05-28)

Bug Fixes

  • allow mocking more nuxt auto-imports (8806143), closes #153
  • narrow down vitest inline patterns (eb66dd9)

0.7.1 (2023-05-21)

Bug Fixes

  • move vitest to peer dependency (616b721)

0.7.0 (2023-05-15)

Features

  • allow passing mount options in mountSuspended (#159) (b0c478a)
  • support injects, global properties (and routing!) (#154) (82cdd0b)

Bug Fixes

  • support unobserve method in mocked IntersectionObserver (#150) (c094878)

0.6.12 (2023-05-03)

Bug Fixes

0.6.11 (2023-05-02)

Bug Fixes

  • nuxt-vitest: unshift vue plugins in newer nuxts (#148) (1ce3e0e)

0.6.10 (2023-04-18)

Bug Fixes

  • nuxt-vitest: inject vue plugins if missing (#130) (eb152f4)

0.6.9 (2023-03-21)

Bug Fixes

  • pass resolved runtimeConfig into nuxt environment (#101) (6dce4dc)

0.6.8 (2023-03-09)

Bug Fixes

  • revert type change to defineVitestConfig (#86) (43c0f36)

0.6.7 (2023-03-08)

Bug Fixes

0.6.6 (2023-02-12)

Bug Fixes

  • nuxt-vitest: exclude import protection plugin (6b9ac3e)

0.6.5 (2023-02-01)

Bug Fixes

  • accept object syntax for to prop in router mock (#55) (129b8f4)

0.6.4 (2023-01-29)

Bug Fixes

  • avoid duplication vi injection (7d8f493)
  • ui: wait for Vitest UI to initiate (3090ccf)

0.6.3 (2023-01-28)

Features

  • basic devtools indicator (34884e4)

Bug Fixes

  • dev: do not terminate the process even if no tests (86fe91e)
  • nuxt-vitest: add cjs exports to package.json (a9b3088), closes #48

0.6.2 (2023-01-26)

Features

0.6.1 (2023-01-25)

Bug Fixes

0.6.0 (2023-01-25)

⚠ BREAKING CHANGES

  • rename defineConfigWithNuxt to defineVitestConfig (#45)
  • remove nuxt as default test environment (#30)

Features

  • rename defineConfigWithNuxt to defineVitestConfig (#45) (eb8dc41)

Bug Fixes

  • modules' meta can be optional (12b41ca)
  • remove nuxt as default test environment (#30) (3b8e16e)

0.5.0 (2023-01-25)

⚠ BREAKING CHANGES

  • add nuxt-vitest module (#34)

Features

0.4.3 (2023-01-21)

Bug Fixes

0.4.2 (2023-01-18)

Features

  • support passing custom test options to getVitestConfig (53a1b68)

Bug Fixes

  • support nuxt projects with custom srcDir (f8d8d86)

0.4.1 (2023-01-17)

Bug Fixes

0.4.0 (2023-01-13)

Features

  • expose modules (#23) (19d103d)
  • getVitestConfig: pass custom nuxt instance and config to getVitestConfig (#22) (3e5b470)

Bug Fixes

  • explicitly import apis for RouterLink mock (#24) (b1763e7)

0.3.1 (2023-01-05)

Bug Fixes

  • inline any deps that need to be transpiled by nuxt (#13) (011cf34)

0.3.0 (2022-12-21)

Features

0.2.0 (2022-12-20)

Features

  • defineConfigWithNuxtEnv helper (#3) (23d19e9)

Bug Fixes

  • add vitest-environment-nuxt to inline list (1d48512)

0.1.1 (2022-12-19)

0.1.0 (2022-12-19)

Features