diff options
Diffstat (limited to 'spec/frontend/monitoring/components/charts/time_series_spec.js')
-rw-r--r-- | spec/frontend/monitoring/components/charts/time_series_spec.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/frontend/monitoring/components/charts/time_series_spec.js b/spec/frontend/monitoring/components/charts/time_series_spec.js index a911b925b66..49f2a70a8b2 100644 --- a/spec/frontend/monitoring/components/charts/time_series_spec.js +++ b/spec/frontend/monitoring/components/charts/time_series_spec.js @@ -16,8 +16,6 @@ import { } from '../../mock_data'; import * as iconUtils from '~/lib/utils/icon_utils'; -const mockWidgets = 'mockWidgets'; - const mockSvgPathContent = 'mockSvgPathContent'; jest.mock('lodash/throttle', () => @@ -65,9 +63,6 @@ describe('Time series component', () => { deploymentData: store.state.monitoringDashboard.deploymentData, projectPath: `${mockHost}${mockProjectDir}`, }, - slots: { - default: mockWidgets, - }, store, }); }); @@ -82,14 +77,6 @@ describe('Time series component', () => { timeSeriesChart.vm.$nextTick(done); }); - it('renders chart title', () => { - expect(timeSeriesChart.find('.js-graph-title').text()).toBe(mockGraphData.title); - }); - - it('contains graph widgets from slot', () => { - expect(timeSeriesChart.find('.js-graph-widgets').text()).toBe(mockWidgets); - }); - it('allows user to override max value label text using prop', () => { timeSeriesChart.setProps({ legendMaxText: 'legendMaxText' }); |