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

Commit

Permalink
fix(nuxt-vitest): default rootId to undefined rather than false
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Aug 14, 2023
1 parent 32308a6 commit 2c95dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt-vitest/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export async function getVitestConfigFromNuxt(
environmentOptions: {
...options.viteConfig.test?.environmentOptions,
nuxt: {
rootId: options.nuxt.options.app.rootId,
rootId: options.nuxt.options.app.rootId || undefined,
...options.viteConfig.test?.environmentOptions?.nuxt,
},
nuxtRuntimeConfig: options.nuxt.options.runtimeConfig,
Expand Down

0 comments on commit 2c95dd0

Please sign in to comment.