forked from pm990320/google-workspace-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
30 lines (28 loc) · 825 Bytes
/
vitest.config.ts
File metadata and controls
30 lines (28 loc) · 825 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
27
28
29
30
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
// Unit tests in tests/ (excluding integration)
include: ['tests/**/*.test.{js,ts}'],
exclude: ['tests/integration/**'],
// Coverage configuration
coverage: {
provider: 'v8',
include: ['dist/**/*.js'],
exclude: [
'dist/cli.js',
'dist/server.js',
'dist/tools/**/*.js', // Tools require integration tests, not unit tests
'dist/accounts.js', // Requires OAuth mocking
'dist/serverWrapper.js', // Infrastructure code
'dist/securityHelpers.js', // Security infrastructure
],
reporter: ['text', 'html', 'lcov'],
thresholds: {
statements: 40,
branches: 35,
functions: 45,
lines: 40,
},
},
},
});