forked from Manuel1234477/Stellar-Micro-Donation-API
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.js
More file actions
46 lines (45 loc) · 1.36 KB
/
jest.config.js
File metadata and controls
46 lines (45 loc) · 1.36 KB
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
46
/**
* Jest Configuration
* Test runner configuration for Stellar Micro-Donation API
*/
module.exports = {
testEnvironment: 'node',
testMatch: ['**/tests/**/*.test.js'],
testPathIgnorePatterns: [
'/node_modules/',
'tests/e2e/',
'tests/donation-routes-integration.test.js', // Temporarily disabled - pre-existing failures
'tests/scheduler-resilience.test.js',
'tests/advanced-failure-scenarios.test.js',
'tests/failure-scenarios.test.js',
'tests/transaction-sync-consistency.test.js',
'tests/network-timeout-scenarios.test.js',
'tests/recurring-donation-failures.test.js',
'tests/transaction-sync-failures.test.js',
'tests/account-funding.test.js',
'tests/wallet-analytics-integration.test.js',
'tests/validation-middleware.test.js',
'tests/permission-integration.test.js',
'tests/idempotency-integration.test.js',
'tests/idempotency.test.js',
],
collectCoverageFrom: [
'src/**/*.js',
'!src/scripts/**',
'!src/config/**',
],
coverageReporters: ['text', 'text-summary', 'lcov', 'html', 'json-summary'],
coverageThreshold: {
global: {
branches: 80,
functions: 80,
lines: 80,
statements: 80,
},
},
coverageDirectory: 'coverage',
verbose: true,
testTimeout: 10000,
setupFiles: ['<rootDir>/tests/setup.js'],
globalSetup: '<rootDir>/tests/globalSetup.js',
};