diff options
Diffstat (limited to 'vitest.config.ts')
-rw-r--r-- | vitest.config.ts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 0000000000..ea0fafeee8 --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,21 @@ +import {defineConfig} from 'vitest/config'; +import vuePlugin from '@vitejs/plugin-vue'; +import {stringPlugin} from 'vite-string-plugin'; + +export default defineConfig({ + test: { + include: ['web_src/**/*.test.js'], + setupFiles: ['web_src/js/vitest.setup.js'], + environment: 'happy-dom', + testTimeout: 20000, + open: false, + allowOnly: true, + passWithNoTests: true, + globals: true, + watch: false, + }, + plugins: [ + stringPlugin(), + vuePlugin(), + ], +}); |