Slow jest spec in `spec/frontend/monitoring/components/charts/time_series_spec.js ` | Time series component › With a single time series › general functions › allows user to override legend label texts using props

Job #777056766 failed for bc2755d3:

Trace

FAIL spec/frontend/monitoring/components/charts/time_series_spec.js (32.186s)
  ● Time series component › With a single time series › general functions › allows user to override legend label texts using props
    Test took too long (6967.091746ms > 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)