Welcome to mirror list, hosted at ThFree Co, Russian Federation.

type_popover_spec.js « components « new « issues « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1ae150797c3f2ad8397654fe1c75c950d9c4b870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { shallowMount } from '@vue/test-utils';
import TypePopover from '~/issues/new/components/type_popover.vue';

describe('Issue type info popover', () => {
  let wrapper;

  function createComponent() {
    wrapper = shallowMount(TypePopover);
  }

  it('renders', () => {
    createComponent();

    expect(wrapper.element).toMatchSnapshot();
  });
});