import { configDefaults, defineConfig } from 'vitest/config';

export default defineConfig({
  test: {
    exclude: [
      ...configDefaults.exclude,
      '.claude/**',
      '.superpowers/**',
      '.worktrees/**',
      // Playwright E2E specs — run via `npm run test:e2e`, not vitest. They
      // import @playwright/test and fail collection under vitest.
      'ui/e2e/**',
      'ui/e2e-auth/**',
    ],
  },
});
