Skip to content

Commit 7dfc07b

Browse files
authored
Fix main branch CI failure by increasing jest testTimeout option (#2074)
## Explanation - Fixes main branch CI failure: https://github.com/MetaMask/core/actions/runs/6944013982/job/18901645361 - Increases jest `testTimeout` option from default of 5000 to 30000. ## References - Closes #2075 ## Changelog N/A ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate
1 parent f23ad0b commit 7dfc07b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

jest.config.packages.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ module.exports = {
176176
// This option allows use of a custom test runner
177177
// testRunner: "jest-circus/runner",
178178

179+
// Default timeout of a test in milliseconds.
180+
testTimeout: 30000,
181+
179182
// This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
180183
// testURL: "http://localhost",
181184

0 commit comments

Comments
 (0)