Broken master in `jest`
Job #515475126 failed for 8f4563a8:
FAIL spec/frontend/monitoring/components/charts/options_spec.js
● options spec › getYAxisOptions › formatter options defaults to engineering notation
expect(received).toBe(expected) // Object.is equality
Expected: "3k"
Received: "NaN"
36 |
37 | expect(options.axisLabel.formatter).toEqual(expect.any(Function));
> 38 | expect(options.axisLabel.formatter('3,002.10')).toBe('3k');
| ^
39 | });
40 |
41 | it('formatter options allows for precision to be set explicitly', () => {
at Object.toBe (spec/frontend/monitoring/components/charts/options_spec.js:38:55)
Test Suites: 1 failed, 651 passed, 652 total
Tests: 1 failed, 3 skipped, 6957 passed, 6961 total
Snapshots: 120 passed, 120 total
Time: 393.219s
Ran all test suites.
error Command failed with exit code 1.
Introduced by !28953 (diffs).