-
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) · 946 Bytes
/
Copy pathvitest.config.ts
File metadata and controls
26 lines (25 loc) · 946 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';
export default defineConfig({
test: {
include: ['src/**/*.test.ts'],
// Don't write the persistent command log to the developer's home during tests.
env: { BAZEL_IOS_COMMAND_LOG_DISABLE: '1' },
coverage: {
provider: 'v8',
include: ['src/**/*.ts'],
exclude: ['src/**/*.test.ts', 'src/**/index.ts'],
reporter: ['text', 'text-summary', 'lcov'],
thresholds: {
'src/core/scaffold.ts': { statements: 80 },
'src/core/workflows.ts': { statements: 80 },
'src/core/workspace.ts': { statements: 80 },
'src/core/bazel.ts': { statements: 80 },
'src/core/upgrade.ts': { statements: 80 },
'src/runtime/config.ts': { statements: 80 },
'src/utils/output.ts': { statements: 80 },
'src/tools/bazel-tools.ts': { statements: 80 },
'src/tools/helpers.ts': { statements: 80 },
},
},
},
});