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.quarantine.js
More file actions
29 lines (28 loc) · 884 Bytes
/
Copy pathjest.config.quarantine.js
File metadata and controls
29 lines (28 loc) · 884 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
/**
* Jest Configuration for Quarantined Tests
*
* Runs only flaky tests that have been quarantined and are under investigation.
* These tests run with retries to tolerate transient failures during fixes.
*
* Usage: jest --config jest.config.quarantine.js
*/
module.exports = {
testEnvironment: 'node',
testMatch: ['**/tests/**/*.quarantine.test.js'],
collectCoverageFrom: [
'src/**/*.js',
'!src/scripts/**',
'!src/config/**',
],
coverageReporters: ['text', 'text-summary', 'lcov', 'html', 'json-summary'],
coverageDirectory: 'coverage',
verbose: true,
testTimeout: 10000,
maxWorkers: '50%',
workerIdleMemoryLimit: '512MB',
setupFiles: ['<rootDir>/tests/setup.js'],
globalSetup: '<rootDir>/tests/globalSetup.js',
// Quarantined tests tolerate transient failures
// Run with bounded retries (3 attempts per test)
testRetryTimes: 3,
};