diff options
Diffstat (limited to 'spec/frontend/pages/projects/learn_gitlab/components/learn_gitlab_section_card_spec.js')
-rw-r--r-- | spec/frontend/pages/projects/learn_gitlab/components/learn_gitlab_section_card_spec.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/spec/frontend/pages/projects/learn_gitlab/components/learn_gitlab_section_card_spec.js b/spec/frontend/pages/projects/learn_gitlab/components/learn_gitlab_section_card_spec.js deleted file mode 100644 index 3a511a009a9..00000000000 --- a/spec/frontend/pages/projects/learn_gitlab/components/learn_gitlab_section_card_spec.js +++ /dev/null @@ -1,27 +0,0 @@ -import { shallowMount } from '@vue/test-utils'; -import LearnGitlabSectionCard from '~/pages/projects/learn_gitlab/components/learn_gitlab_section_card.vue'; -import { testActions } from './mock_data'; - -const defaultSection = 'workspace'; -const testImage = 'workspace.svg'; - -describe('Learn GitLab Section Card', () => { - let wrapper; - - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - - const createWrapper = () => { - wrapper = shallowMount(LearnGitlabSectionCard, { - propsData: { section: defaultSection, actions: testActions, svg: testImage }, - }); - }; - - it('renders correctly', () => { - createWrapper({ completed: false }); - - expect(wrapper.element).toMatchSnapshot(); - }); -}); |