Skip to content

Commit

Permalink
fix: ensure module is installed when getting nuxt config
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jun 28, 2023
1 parent 4d8e3eb commit 4b6aebc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/nuxt-vitest/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ async function startNuxtAndGetViteConfig(
{
ssr: false,
test: true,
modules: ['nuxt-vitest']
},
overrides
),
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/nuxt-vitest/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
modules: [
'../packages/nuxt-vitest/src/module',
'nuxt-vitest',
'@nuxt/devtools',
'~/modules/custom',
],
Expand Down

0 comments on commit 4b6aebc

Please sign in to comment.