forked from vaibhav4046/lacuna
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
18 lines (17 loc) · 784 Bytes
/
Copy pathvitest.config.ts
File metadata and controls
18 lines (17 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
// Contract tests talk to a real HydraDB node. Running them in parallel with
// each other would make the bookmark assertions depend on scheduling, so
// every file gets one worker and runs its cases in order.
fileParallelism: false,
sequence: { concurrent: false },
testTimeout: 20_000,
// The contract suite's setup and teardown delete their fixture one vertex at
// a time over HTTP. Against an empty graph that is quick; against a graph
// already holding the demo corpus it runs past the ten second default and
// the suite fails for a reason that has nothing to do with the code.
hookTimeout: 60_000,
include: ['tests/**/*.test.ts'],
},
});