Remove timeout for long running test suite spec/frontend/issuable/related_issues/components/related_issues_root_spec.js
Summary
Summary of all failing tests
FAIL spec/frontend/issuable/related_issues/components/related_issues_root_spec.js
● RelatedIssuesRoot › events › when "relatedIssueRemoveRequest" event is emitted › when emitted value is a numerical issue › removes related issue on API success
Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.
at mapper (node_modules/jest-jasmine2/build/queueRunner.js:28:45)
Steps to reproduce
yarn jest spec/frontend/issuable/related_issues/components/related_issues_root_spec.js
Please refer to Flaky tests documentation to learn more about how to reproduce them.
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.
Once the flaky failure has been fixed on the default branch, open merge requests to cherry-pick the fix to the active stable branches.
Logs
Implementation
-
frontend remove need for setTimeout
by usingshallowMount
instead ofmount
Edited by Alexander Turinske