From 65aa53fc52ff15efe54df4147564828d535837f8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 11 Oct 2024 12:27:00 +0200 Subject: Adding upstream version 8.0.3. Signed-off-by: Daniel Baumann --- vitest.config.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 vitest.config.js (limited to 'vitest.config.js') diff --git a/vitest.config.js b/vitest.config.js new file mode 100644 index 00000000..ea0fafee --- /dev/null +++ b/vitest.config.js @@ -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(), + ], +}); -- cgit v1.2.3