Slow spec: ee/spec/frontend/vue_mr_widget/ee_mr_widget_options_spec.js
Job #892647350 failed for ebb8fcdd:
The SAST and Deployment mr widgets load longer than the timeout locally and CI
This can be recreated locally pretty reliably
yarn run jest --clearCache
yarn run jest ee/spec/frontend/vue_mr_widget/ee_mr_widget_options_spec.js
● ee merge request widget options › SAST › when it is loading › should render loading indicator
Test took too long (1510.897424ms > 500ms)!
52 | // debugging always takes longer than the test timeout.
53 | if (elapsedNS > timeoutNS && !IS_DEBUGGING) {
> 54 | throw new Error(
| ^
55 | `Test took too long (${elapsedNS / NS_PER_MS}ms > ${timeoutNS / NS_PER_MS}ms)!`,
56 | );
57 | }
at Object.<anonymous> (spec/frontend/helpers/timeout.js:54:13)
● ee merge request widget options › rendering deployments › renders multiple deployments
Test took too long (1412.855976ms > 500ms)!
52 | // debugging always takes longer than the test timeout.
53 | if (elapsedNS > timeoutNS && !IS_DEBUGGING) {
> 54 | throw new Error(
| ^
55 | `Test took too long (${elapsedNS / NS_PER_MS}ms > ${timeoutNS / NS_PER_MS}ms)!`,
56 | );
57 | }