0.10.2 (2023-07-24)
0.10.1 (2023-07-18)
- bump vitest peer dependency range (77a43c1)
0.10.0 (2023-07-17)
- automatically polyfill
fetch
within tests (#244) (c3edd06) - ensure vitest mocking plugin is placed last (#263) (8a89fe3)
0.9.0 (2023-07-06)
- you now need to explicitly add
happy-dom
orjsdom
as a dev dependency based on whichdomEnvironment
you want to be in. (happy-dom
is set by default.)
- remove support for
inline: true
and avoid inlining vite/vue (d95e15f)
0.8.7 (2023-06-30)
0.8.6 (2023-06-28)
- 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 settest
) (7c7c441)
0.8.5 (2023-06-06)
- don't transpile/override NODE_ENV (c26e981)
0.8.4 (2023-06-01)
0.8.3 (2023-06-01)
- vitest-environment-nuxt: register imports after context is created (434b39b)
0.8.2 (2023-05-30)
- nuxt-vitest: respect cwd as vite test dir (43f2324)
0.8.1 (2023-05-30)
- defer to
vue/test-utils
for the type ofmountSuspended
(24d3f0a), closes #191 - utils: proxy context to capture emitted events in wrapper (8bf8037), closes #175
0.8.0 (2023-05-29)
- move nuxt overrides to
environmentOptions
(2cc5038)
0.7.2 (2023-05-28)
- allow mocking more nuxt auto-imports (8806143), closes #153
- narrow down vitest inline patterns (eb66dd9)
0.7.1 (2023-05-21)
- move
vitest
to peer dependency (616b721)
0.7.0 (2023-05-15)
- allow passing mount options in
mountSuspended
(#159) (b0c478a) - support injects, global properties (and routing!) (#154) (82cdd0b)
0.6.12 (2023-05-03)
0.6.11 (2023-05-02)
0.6.10 (2023-04-18)
0.6.9 (2023-03-21)
0.6.8 (2023-03-09)
0.6.7 (2023-03-08)
0.6.6 (2023-02-12)
- nuxt-vitest: exclude import protection plugin (6b9ac3e)
0.6.5 (2023-02-01)
0.6.4 (2023-01-29)
0.6.3 (2023-01-28)
- basic devtools indicator (34884e4)
- 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)
0.6.1 (2023-01-25)
- build on prepublish (df57aaf)
0.6.0 (2023-01-25)
- rename
defineConfigWithNuxt
todefineVitestConfig
(#45) - remove nuxt as default test environment (#30)
0.5.0 (2023-01-25)
- add
nuxt-vitest
module (#34)
0.4.3 (2023-01-21)
0.4.2 (2023-01-18)
- support passing custom test options to
getVitestConfig
(53a1b68)
- support nuxt projects with custom
srcDir
(f8d8d86)
0.4.1 (2023-01-17)
0.4.0 (2023-01-13)
- expose modules (#23) (19d103d)
- getVitestConfig: pass custom nuxt instance and config to
getVitestConfig
(#22) (3e5b470)
0.3.1 (2023-01-05)
0.3.0 (2022-12-21)
0.2.0 (2022-12-20)
- add
vitest-environment-nuxt
to inline list (1d48512)
0.1.1 (2022-12-19)
- mock
<RouterLink>
(b1e61fa)