Skip to content

Commit 1f86460

Browse files
committed
test: scope integration coverage collection
1 parent f76e251 commit 1f86460

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

jest.config.integration.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ const baseConfig = require('./jest.config.js');
1717
*/
1818
module.exports = {
1919
...baseConfig,
20+
// Unit coverage already owns the repo-wide collectCoverageFrom list. Let
21+
// integration tests report coverage for the production files they execute so
22+
// CI shards stay small while still contributing to merged PR coverage.
23+
collectCoverageFrom: undefined,
2024
testPathIgnorePatterns: (baseConfig.testPathIgnorePatterns || []).filter(
2125
(pattern) => !pattern.includes('integration'),
2226
),

0 commit comments

Comments
 (0)