Skip to content

Commit 7445bd8

Browse files
authored
Minimize flakiness while test runs in CI (#1275)
1 parent dfd7449 commit 7445bd8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/template-mrt-reference-app/jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ module.exports = {
1616
statements: 85
1717
}
1818
},
19-
collectCoverageFrom: ['app/**']
19+
collectCoverageFrom: ['app/**'],
20+
// Increase to: 6 x default timeout of 5 seconds
21+
...(process.env.CI ? {testTimeout: 30000} : {})
2022
}

0 commit comments

Comments
 (0)