5 seconds can be really annoying if you have many test cases that fail.
I'm not sure what would be the best option to accomplish this, but I imagine a configurable option in package.json. Something like defaultTimeoutInterval, which would then be passed to jasmine used.
Steps:
- Pass jest json config to jasmine file (not sure how)
- Change
jasmine.DEFAULT_TIMEOUT_INTERVAL to jestConfig.defaultTimeoutInterval || 5000
5 seconds can be really annoying if you have many test cases that fail.
I'm not sure what would be the best option to accomplish this, but I imagine a configurable option in
package.json. Something likedefaultTimeoutInterval, which would then be passed to jasmine used.Steps:
jasmine.DEFAULT_TIMEOUT_INTERVALtojestConfig.defaultTimeoutInterval || 5000