feat: better vscode vitest integration
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dominik Pschenitschni 2023-04-12 16:14:10 +02:00
parent 795b26e1dd
commit 7e77c19f74
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
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: {