feat: better vscode vitest integration
This commit is contained in:
parent
a416d26f7c
commit
314cbf471f
@ -8,6 +8,7 @@
|
|||||||
"lokalise.i18n-ally",
|
"lokalise.i18n-ally",
|
||||||
"mgmcdermott.vscode-language-babel",
|
"mgmcdermott.vscode-language-babel",
|
||||||
"mikestead.dotenv",
|
"mikestead.dotenv",
|
||||||
"Syler.sass-indented"
|
"Syler.sass-indented",
|
||||||
|
"zixuanchen.vitest-explorer"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -60,6 +60,7 @@ export default defineConfig(({mode}) => {
|
|||||||
// https://vitest.dev/config/
|
// https://vitest.dev/config/
|
||||||
test: {
|
test: {
|
||||||
environment: 'happy-dom',
|
environment: 'happy-dom',
|
||||||
|
'vitest.commandLine': 'pnpm test:unit',
|
||||||
},
|
},
|
||||||
css: {
|
css: {
|
||||||
preprocessorOptions: {
|
preprocessorOptions: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user