@nuxt/docs-nightly 5.0.0-29758397.3f29ffe6 → 5.0.0-29759840.a837859e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -86,6 +86,10 @@ We currently ship an environment for unit testing code that needs a [Nuxt](https
|
|
|
86
86
|
})
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
+
::note
|
|
90
|
+
`defineVitestProject` is only for Nuxt-environment tests. End-to-end tests should be configured as a regular `test.environment: 'node'` project.
|
|
91
|
+
::
|
|
92
|
+
|
|
89
93
|
3. If your Nuxt-environment tests live outside `test/nuxt/`, see [TypeScript Support in Tests](#typescript-support-in-tests) to add them to the TypeScript context.
|
|
90
94
|
|
|
91
95
|
::tip
|