import { defineConfig } from 'vitest/config'; // https://vitejs.dev/config/ export default defineConfig({ test: { globals: true, environment: 'jsdom', setupFiles: './setupTesting.ts', // you might want to disable it, if you don't have tests that rely on CSS // since parsing CSS is slow css: true, exclude: ['**/node_modules/**', '**/lib/**'], passWithNoTests: true, }, });