* feat: move to vitest * fix: lock file * fix: tests running sequentially on same port * fix lock file --------- Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
15 lines
390 B
TypeScript
15 lines
390 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['**/*.test.ts'],
|
|
exclude: ['node_modules', 'dist'],
|
|
// Run test files sequentially to avoid port conflicts
|
|
fileParallelism: false,
|
|
// Increase timeout for server tests in CI
|
|
testTimeout: 15000,
|
|
hookTimeout: 30000
|
|
}
|
|
});
|