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

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

describe('Title edit field', () => {
  let wrapper;

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

  beforeEach(() => {
    createComponent();
  });

  it('matches the snapshot', () => {
    expect(wrapper.element).toMatchSnapshot();
  });
});