diff --git a/vitest.config.ts b/vitest.config.ts index 558bd4c45..47921565c 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -12,6 +12,10 @@ export default defineConfig({ typecheck: { enabled: false, }, + // 'tests/e2e/**' excluído: contém testes Playwright (imports @playwright/test) + // que vitest tenta carregar e trava workers em deadlock. Playwright config + // usa testDir: './e2e' (não 'tests/e2e'), então esses 8 arquivos estavam + // órfãos. Ver fix(test): unblock vitest hang in CI. exclude: ['node_modules', 'dist', '.idea', '.git', '.cache', 'tests/e2e/**'], // CI runners (GitHub Actions ubuntu-latest) têm 2 vCPU (4 vThreads). //