diff options
author | Laura Montemayor <lmontemayor@gitlab.com> | 2019-08-23 13:12:18 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-08-23 13:12:18 +0300 |
commit | 3e5946335d430c50726a2bfddaf50e0fc43192e2 (patch) | |
tree | 7d6ee9685c82cfb45308ddc6ab6cae94e03db4fa /spec | |
parent | ff9060e0619684d560947b3fe7a5278df2e3a1d5 (diff) |
fix charts scroll handle icon
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/monitoring/charts/area_spec.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/javascripts/monitoring/charts/area_spec.js b/spec/javascripts/monitoring/charts/area_spec.js index 57f99a09002..1e49a955815 100644 --- a/spec/javascripts/monitoring/charts/area_spec.js +++ b/spec/javascripts/monitoring/charts/area_spec.js @@ -225,6 +225,14 @@ describe('Area component', () => { }); describe('chartOptions', () => { + describe('dataZoom', () => { + it('contains an svg object within an array to properly render icon', () => { + const dataZoomObject = [{}]; + + expect(areaChart.vm.chartOptions.dataZoom).toEqual(dataZoomObject); + }); + }); + describe('yAxis formatter', () => { let format; |