Skip to content

Commit

Permalink
fix: clone overrides
Browse files Browse the repository at this point in the history
resolves #587
  • Loading branch information
danielroe committed Dec 5, 2023
1 parent c5f607f commit df84d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export function defineVitestConfig(config: InlineConfig & { test?: VitestConfig

return defu(
config,
await getVitestConfigFromNuxt(undefined, overrides),
await getVitestConfigFromNuxt(undefined, structuredClone(overrides)),
)
})
}
Expand Down

0 comments on commit df84d0c

Please sign in to comment.