Skip to content

Commit

Permalink
fix: remove module override of app.rootId
Browse files Browse the repository at this point in the history
resolves #604
  • Loading branch information
danielroe committed Dec 5, 2023
1 parent a4ec3f8 commit e662c1f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ export default defineNuxtModule<NuxtVitestOptions>({

if (!nuxt.options.dev) return

if (nuxt.options.test && nuxt.options.app.rootId === '__nuxt') {
nuxt.options.app.rootId = 'nuxt-test'
}

// the nuxt instance is used by a standalone Vitest env, we skip this module
if (process.env.TEST || process.env.VITE_TEST) return

Expand Down

0 comments on commit e662c1f

Please sign in to comment.