Slow jest spec in `spec/frontend/vue_shared/components/rich_content_editor/rich_content_editor_integration_spec/rich_content_editor_integration_spec`

Job failed https://gitlab.com/gitlab-org/gitlab/-/jobs/764970350

Trace

FAIL spec/frontend/vue_shared/components/rich_content_editor/rich_content_editor_integration_spec.js (9.497s)
  ● vue_shared/components/rich_content_editor › Markdown to HTML › does not transform softbreaks inside (_) and strong (**) nodes into <br/> tags
    Test took too long (6623.622139ms > 6000ms)!
      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)