feat: better vscode vitest integration

This commit is contained in:
Dominik Pschenitschni 2023-04-12 16:14:10 +02:00 committed by konrad
parent a416d26f7c
commit 314cbf471f
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@
"lokalise.i18n-ally",
"mgmcdermott.vscode-language-babel",
"mikestead.dotenv",
"Syler.sass-indented"
"Syler.sass-indented",
"zixuanchen.vitest-explorer"
]
}

View File

@ -60,6 +60,7 @@ export default defineConfig(({mode}) => {
// https://vitest.dev/config/
test: {
environment: 'happy-dom',
'vitest.commandLine': 'pnpm test:unit',
},
css: {
preprocessorOptions: {