move to vitest (#18)
* 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>
This commit is contained in:
parent
eed3b222a1
commit
aeceefa9cf
1 changed files with 2069 additions and 4025 deletions
15
vitest.config.ts
Normal file
15
vitest.config.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
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
|
||||
}
|
||||
});
|
||||
Loading…
Reference in a new issue