Files
pxpipe/vitest.config.ts
T
Makori Brian 16960b8230 fix(tests): Windows compatibility for docs-integrity, export-git e2e, and slow-machine timeouts (#52)
- docs-integrity: normalize walker paths to forward slashes so keys match on Windows
- export-git-e2e: run tsx's JS entry via node instead of the .bin/.cmd shim (same pattern as #63)
- vitest: 30s testTimeout for CPU-bound PNG-render tests on slower machines

(build.mjs portion of the original branch dropped — superseded by #63)
2026-07-16 17:14:27 -04:00

12 lines
319 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
include: ['tests/**/*.test.ts'],
environment: 'node',
// Render-heavy tests (full-page PNG encodes) can exceed the 5s default on
// slower machines; the work is CPU-bound, not hung.
testTimeout: 30_000,
},
});