diff options
author | Adriel Santiago <asantiago@gitlab.com> | 2019-02-22 10:07:58 +0000 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-02-22 10:07:58 +0000 |
commit | 95cbe90e71799816a59bee4ce8f0a141abb3706b (patch) | |
tree | f9052edbc2139a316ec9af56b3d83c22e39af433 /spec/javascripts/monitoring | |
parent | a40bb1e8ec501d2351604bb1ce3b9ad304f40580 (diff) | |
download | gitlab-ce-95cbe90e71799816a59bee4ce8f0a141abb3706b.tar.gz |
Remove auto-appended units
Remove duplicate units from metrics dashboard graphs
Diffstat (limited to 'spec/javascripts/monitoring')
-rw-r--r-- | spec/javascripts/monitoring/charts/area_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/monitoring/charts/area_spec.js b/spec/javascripts/monitoring/charts/area_spec.js index 0b36fc9f5f7..d334ef7ba4f 100644 --- a/spec/javascripts/monitoring/charts/area_spec.js +++ b/spec/javascripts/monitoring/charts/area_spec.js @@ -127,7 +127,7 @@ describe('Area component', () => { }); it('formats tooltip content', () => { - expect(areaChart.vm.tooltip.content).toBe('CPU (Cores) 5.556'); + expect(areaChart.vm.tooltip.content).toBe('CPU 5.556'); }); }); @@ -213,7 +213,7 @@ describe('Area component', () => { describe('yAxisLabel', () => { it('constructs a label for the chart y-axis', () => { - expect(areaChart.vm.yAxisLabel).toBe('CPU (Cores)'); + expect(areaChart.vm.yAxisLabel).toBe('CPU'); }); }); }); |