import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { environment: 'jsdom', globals: true, setupFiles: ['./src/__tests__/setup.ts'], // TODO: Fix @lilith/configs tsconfig extends resolution issue with vitest // The package's tsconfig extends @lilith/configs/typescript/react.json // but vitest's tsconfck can't resolve it. Re-enable tests once fixed. exclude: ['**/__tests__/**', '**/node_modules/**'], }, });