test: add vitest-environment-nuxt
(#1186)
This commit is contained in:
parent
3513f09148
commit
bf25339bc9
15 changed files with 82 additions and 64 deletions
|
@ -66,6 +66,7 @@ export default defineNuxtConfig({
|
|||
define: {
|
||||
'process.env.VSCODE_TEXTMATE_DEBUG': 'false',
|
||||
'process.mock': ((!isCI || isPreview) && process.env.MOCK_USER) || 'false',
|
||||
'process.test': 'false',
|
||||
},
|
||||
build: {
|
||||
target: 'esnext',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue