mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-19 01:45:53 +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: {
|
// environmentOptions: {
|
||||||
// nuxt: {
|
// nuxt: {
|
||||||
// rootDir: fileURLToPath(new URL('./playground', import.meta.url)),
|
// rootDir: fileURLToPath(new URL('./playground', import.meta.url)),
|
||||||
|
// domEnvironment: 'happy-dom', // 'happy-dom' (default) or 'jsdom'
|
||||||
// overrides: {
|
// overrides: {
|
||||||
// // other Nuxt config you want to pass
|
// // other Nuxt config you want to pass
|
||||||
// }
|
// }
|
||||||
|
Loading…
Reference in New Issue
Block a user