diff options
author | lauraMon <lmontemayor@gitlab.com> | 2019-08-22 12:34:25 -0400 |
---|---|---|
committer | lauraMon <lmontemayor@gitlab.com> | 2019-08-22 12:38:33 -0400 |
commit | 0bc6bebfdd2e9ab90baa64777e8fa01c78679a4d (patch) | |
tree | f53796b78e6a3255fc74281c4a1e3ec3d53145bd | |
parent | e73cfaface152337a12e815a7e6de3ad4563e7ad (diff) | |
download | gitlab-ce-64385-charts-scroll-handle-icon-has-disappeared.tar.gz |
Adds test and changelog64385-charts-scroll-handle-icon-has-disappeared
-rw-r--r-- | changelogs/unreleased/64385-charts-scroll-handle-icon-has-disappeared.yml | 5 | ||||
-rw-r--r-- | spec/javascripts/monitoring/charts/area_spec.js | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/changelogs/unreleased/64385-charts-scroll-handle-icon-has-disappeared.yml b/changelogs/unreleased/64385-charts-scroll-handle-icon-has-disappeared.yml new file mode 100644 index 00000000000..93ed2ff4619 --- /dev/null +++ b/changelogs/unreleased/64385-charts-scroll-handle-icon-has-disappeared.yml @@ -0,0 +1,5 @@ +--- +title: fix charts scroll handle icon to use gitlab svg +merge_request: 31825 +author: +type: fixed 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; |