diff options
Diffstat (limited to 'spec/frontend/pipelines/blank_state_spec.js')
-rw-r--r-- | spec/frontend/pipelines/blank_state_spec.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/frontend/pipelines/blank_state_spec.js b/spec/frontend/pipelines/blank_state_spec.js deleted file mode 100644 index 5dcf3d267ed..00000000000 --- a/spec/frontend/pipelines/blank_state_spec.js +++ /dev/null @@ -1,20 +0,0 @@ -import { getByText } from '@testing-library/dom'; -import { mount } from '@vue/test-utils'; -import BlankState from '~/pipelines/components/pipelines_list/blank_state.vue'; - -describe('Pipelines Blank State', () => { - const wrapper = mount(BlankState, { - propsData: { - svgPath: 'foo', - message: 'Blank State', - }, - }); - - it('should render svg', () => { - expect(wrapper.find('.svg-content img').attributes('src')).toEqual('foo'); - }); - - it('should render message', () => { - expect(getByText(wrapper.element, /Blank State/i)).toBeTruthy(); - }); -}); |