-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Labels
Description
🚀 Feature Proposal
I'd like to propose introducing a new config parameter config called timeout
, that would accept a number or a string.
Motivation
To set a global timeout different than Jest's default, one must use a setupTestFrameworkScriptFile
config and create a new file. This is a bit cumbersome, isn't it?
It would also play nice with the API we have for already: jest.setTimeout(number)
.
Example
"jest": {
"timeout": 60000
}
Pitch
Why does this feature belong in the
Jest core platform?
It is a config change, duh.
satya164, ahnpnl, guyellis, aneilbaboo, Zoxive and 85 moreantick and demisx