mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
docs: add domEnvironment
option to testing example (#25972)
This commit is contained in:
parent
40c3a3918e
commit
0591966080
@ -88,6 +88,7 @@ export default defineVitestConfig({
|
||||
// environmentOptions: {
|
||||
// nuxt: {
|
||||
// rootDir: fileURLToPath(new URL('./playground', import.meta.url)),
|
||||
// domEnvironment: 'happy-dom', // 'happy-dom' (default) or 'jsdom'
|
||||
// overrides: {
|
||||
// // other Nuxt config you want to pass
|
||||
// }
|
||||
|
Loading…
Reference in New Issue
Block a user