-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvitest.config.ts
More file actions
26 lines (25 loc) · 880 Bytes
/
Copy pathvitest.config.ts
File metadata and controls
26 lines (25 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { defineConfig } from 'vitest/config';
/**
* The default run is the fast one.
*
* `tools/acceptance` is absent on purpose: it spawns the binary dozens of times and builds
* corpora of thousands of documents, so it belongs to `pnpm acceptance` and its own CI job.
* Folding it in would make every commit slow enough that people stop running the fast
* suite, which costs more than it buys.
*
* The list is explicit rather than `tools/*` so that adding a slow suite to the default run
* is a decision visible in a diff, not a side effect of creating a directory.
*/
export default defineConfig({
test: {
projects: [
'packages/*',
'apps/*',
'tools/arch',
'tools/contract',
'tools/phase-gate',
'tools/test-support',
],
coverage: { provider: 'v8', reporter: ['text', 'json'], reportsDirectory: 'coverage' },
},
});