-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathjest.config.js
More file actions
45 lines (36 loc) · 757 Bytes
/
jest.config.js
File metadata and controls
45 lines (36 loc) · 757 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* Jest configuration for Evernote MCP Server
*/
module.exports = {
// Test environment
testEnvironment: 'node',
// Test file patterns
testMatch: [
'**/tests/**/*.test.js'
],
// Coverage configuration
collectCoverageFrom: [
'*.js',
'!jest.config.js',
'!coverage/**'
],
// Coverage thresholds
coverageThreshold: {
global: {
branches: 70,
functions: 80,
lines: 80,
statements: 80
}
},
// Setup files
setupFilesAfterEnv: ['<rootDir>/tests/setup.js'],
// Module directories
moduleDirectories: ['node_modules', '<rootDir>'],
// Clear mocks between tests
clearMocks: true,
// Verbose output
verbose: true,
// Test timeout
testTimeout: 10000
};