import { defineConfig } from 'vitest/config'; // Exclude macOS AppleDouble sidecar files (`._*.js`) that get created when // editing through the NFS mount from macOS. See Deviation #15 in // CONSOLIDATION_PLAN.md — these aren't real tests, but vitest's default file // glob picks them up and fails the suite when rollup tries to parse them. export default defineConfig({ test: { include: ['**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts}'], exclude: [ '**/node_modules/**', '**/dist/**', '**/build/**', '**/._*', ], }, });