-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvitest.config.ts
More file actions
22 lines (20 loc) · 627 Bytes
/
Copy pathvitest.config.ts
File metadata and controls
22 lines (20 loc) · 627 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { configDefaults, defineConfig } from 'vitest/config';
/**
* Worktrees are created under `.claude/worktrees/`, which is inside the
* repository, so without this every test and benchmark in every worktree runs
* alongside the ones in this checkout.
*/
const exclude = [...configDefaults.exclude, '.claude/**'];
export default defineConfig({
test: {
exclude,
benchmark: {
exclude,
},
coverage: {
// enabled: true,
// json-summary is required for https://github.com/davelosert/vitest-coverage-report-action
reporter: ['json-summary', 'json', 'text-summary'],
},
},
});