n8n/packages/testing/playwright/vitest.config.ts
Declan Carroll d57545d4d0
ci: V8 E2E coverage + per-spec impact map (DEVP-205) (#31441)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 12:17:27 +00:00

12 lines
394 B
TypeScript

import { defineConfig } from 'vitest/config';
// Unit tests for the coverage pipeline scripts/fixtures only. Scoped tightly so
// vitest never picks up the Playwright e2e specs under tests/ (those are *.spec.ts
// run by Playwright, not vitest).
export default defineConfig({
test: {
include: ['scripts/**/*.test.ts', 'fixtures/**/*.test.ts', '*.test.ts'],
exclude: ['tests/**'],
},
});