Flaky jest test in spec/frontend/ide/components/repo_editor_spec.js
Job #576837959 failed for a6fc61a1:
FAIL spec/frontend/ide/components/repo_editor_spec.js
● RepoEditor › onPaste › adds a markdown image tag to the file's contents
expect(received).toBe(expected) // Object.is equality
- Expected
+ Received
hello world
- ![foo.png](./foo.png)
+
564 |
565 | return waitForPromises().then(() => {
> 566 | expect(vm.file.content).toBe('hello world\n![foo.png](./foo.png)');
| ^
567 | });
568 | });
569 |
at toBe (spec/frontend/ide/components/repo_editor_spec.js:566:33)
Test Suites: 1 failed, 1 skipped, 839 passed, 840 of 841 total
Tests: 1 failed, 53 skipped, 8694 passed, 8748 total
Snapshots: 176 passed, 176 total
Time: 412.401s
Ran all test suites.
Passed on retry: https://gitlab.com/gitlab-org/gitlab/-/jobs/577015893