-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathjest.config.integration.js
More file actions
44 lines (36 loc) · 926 Bytes
/
Copy pathjest.config.integration.js
File metadata and controls
44 lines (36 loc) · 926 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
// Integration Test Jest Configuration
module.exports = {
testEnvironment: 'node',
// Only integration tests
testMatch: [
'**/test/integration/**/*.test.js'
],
// Ignore everything else
testPathIgnorePatterns: [
'/node_modules/',
'<rootDir>/.claude/worktrees/'
],
// Keep parallel agent worktrees out of the haste-map (#608)
modulePathIgnorePatterns: [
'<rootDir>/.claude/worktrees/'
],
// Coverage settings
collectCoverageFrom: [
'autopm/.claude/scripts/**/*.js',
'bin/**/*.js',
'lib/**/*.js',
'!**/node_modules/**',
'!**/*.backup.js'
],
// Timeouts (longer for integration tests)
testTimeout: 30000,
// Run serially (integration tests may have side effects)
maxWorkers: 1,
// Clear mocks between tests
clearMocks: true,
restoreMocks: true,
// Verbose for better debugging
verbose: true,
// Simple reporter
reporters: ['default']
};