n8n/packages/testing/playwright/vitest.config.ts
n8n-cat-bot[bot] ec267acdbc
test: Wait for backend readiness before the Playwright database reset (#38366)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Declan Carroll <declan@n8n.io>
2026-09-10 16:48:50 +00:00

18 lines
469 B
TypeScript

import { defineConfig } from 'vitest/config';
// Unit tests for coverage, framework, and reporter code. Keep the list explicit so
// Vitest never picks up Playwright specs under tests/.
export default defineConfig({
test: {
include: [
'scripts/**/*.test.ts',
'fixtures/**/*.test.ts',
'reporters/**/*.test.ts',
'utils/**/*.test.ts',
'tests/framework/telemetry.test.ts',
'tests/framework/telemetry-integration.test.ts',
'*.test.ts',
],
},
});