Skip to content

Commit e662c1f

Browse files
committedDec 5, 2023
fix: remove module override of app.rootId
resolves #604
1 parent a4ec3f8 commit e662c1f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎src/module.ts

-4
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ export default defineNuxtModule<NuxtVitestOptions>({
4747

4848
if (!nuxt.options.dev) return
4949

50-
if (nuxt.options.test && nuxt.options.app.rootId === '__nuxt') {
51-
nuxt.options.app.rootId = 'nuxt-test'
52-
}
53-
5450
// the nuxt instance is used by a standalone Vitest env, we skip this module
5551
if (process.env.TEST || process.env.VITE_TEST) return
5652

0 commit comments

Comments
 (0)
Please sign in to comment.