diff options
Diffstat (limited to 'spec/frontend/projects/pipelines/charts/components/pipelines_area_chart_spec.js')
-rw-r--r-- | spec/frontend/projects/pipelines/charts/components/pipelines_area_chart_spec.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/spec/frontend/projects/pipelines/charts/components/pipelines_area_chart_spec.js b/spec/frontend/projects/pipelines/charts/components/pipelines_area_chart_spec.js deleted file mode 100644 index aea25903023..00000000000 --- a/spec/frontend/projects/pipelines/charts/components/pipelines_area_chart_spec.js +++ /dev/null @@ -1,30 +0,0 @@ -import { mount } from '@vue/test-utils'; -import Component from '~/projects/pipelines/charts/components/pipelines_area_chart.vue'; -import { transformedAreaChartData } from '../mock_data'; - -describe('PipelinesAreaChart', () => { - let wrapper; - - beforeEach(() => { - wrapper = mount(Component, { - propsData: { - chartData: transformedAreaChartData, - }, - slots: { - default: 'Some title', - }, - stubs: { - GlAreaChart: true, - }, - }); - }); - - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - - it('matches the snapshot', () => { - expect(wrapper.element).toMatchSnapshot(); - }); -}); |