Skip to content

Commit

Permalink
Fix main branch CI failure by increasing jest testTimeout option (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
MajorLift authored Nov 21, 2023
1 parent f23ad0b commit 7dfc07b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jest.config.packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ module.exports = {
// This option allows use of a custom test runner
// testRunner: "jest-circus/runner",

// Default timeout of a test in milliseconds.
testTimeout: 30000,

// This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
// testURL: "http://localhost",

Expand Down

0 comments on commit 7dfc07b

Please sign in to comment.