Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] committed May 22, 2024
1 parent 37ac042 commit f005fdd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/environments/vitest/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ export default <Environment>{
const multiApp = (environmentOptions?.future.multiApp as boolean) || false
if (!multiApp) {
win.__NUXT__ = __NUXT__
} else {
}
else {
const appId = environmentOptions?.appId || 'nuxt-app'
win.__NUXT__ = {
[appId]: __NUXT__
[appId]: __NUXT__,
}
}

Expand Down

0 comments on commit f005fdd

Please sign in to comment.