Flaky spec in`spec/frontend/ide/components/merge_requests/list_spec.js`
Job #485631189 failed for gitlab-foss@5d75b2b9:
470 FAIL spec/frontend/ide/components/merge_requests/list_spec.js
471 ● IDE merge requests list › with merge requests › when searching merge requests › calls `loadMergeRequests` on input in search field
472 Ran 100000 timers, and there are still more! Assuming we've hit an infinite recursion and bailing out...
473 137 | fetchMergeRequestsMock.mockClear();
474 138 |
475 > 139 | jest.runAllTimers();
476 | ^
477 140 | return wrapper.vm.$nextTick().then(() => {
478 141 | expect(fetchMergeRequestsMock).toHaveBeenCalledWith(
479 142 | expect.any(Object),
480 at FakeTimers.runAllTimers (node_modules/@jest/fake-timers/build/jestFakeTimers.js:207:13)
481 at Object.runAllTimers (spec/frontend/ide/components/merge_requests/list_spec.js:139:14)
482 ● IDE merge requests list › with merge requests › when searching merge requests › calls `loadMergeRequests` on input in search field
483 expect.hasAssertions()
484 Expected at least one assertion to be called but received none.
485 94 | // see https://jestjs.io/docs/en/expect#expecthasassertions
486 95 | beforeEach(() => {
487 > 96 | expect.hasAssertions();
488 | ^
489 97 | });
490 98 |
491 at Object.hasAssertions (spec/frontend/test_setup.js:96:10)
492 ● IDE merge requests list › on search focus › without search value › hides search types when search changes
493 Ran 100000 timers, and there are still more! Assuming we've hit an infinite recursion and bailing out...
494 21 | new Promise(setImmediate).then(() => {
495 22 | // wait for pending setTimeout()s
496 > 23 | jest.runAllTimers();
497 | ^
498 24 | }),
499 25 | );
500 26 |
501 at FakeTimers.runAllTimers (node_modules/@jest/fake-timers/build/jestFakeTimers.js:207:13)
502 at runAllTimers (spec/frontend/test_setup.js:23:10)
503 ● IDE merge requests list › on search focus › with search value › does not show search types
504 Ran 100000 timers, and there are still more! Assuming we've hit an infinite recursion and bailing out...
505 21 | new Promise(setImmediate).then(() => {
506 22 | // wait for pending setTimeout()s
507 > 23 | jest.runAllTimers();
508 | ^
509 24 | }),
510 25 | );
511 26 |
512 at FakeTimers.runAllTimers (node_modules/@jest/fake-timers/build/jestFakeTimers.js:207:13)
513 at runAllTimers (spec/frontend/test_setup.js:23:10)
514 Test Suites: 1 failed, 327 passed, 328 total
515 Tests: 3 failed, 2 skipped, 3651 passed, 3656 total
516 Snapshots: 52 passed, 52 total
517 Time: 163.5s
518 Ran all test suites.