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

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

describe('Work Items Application', () => {
  let wrapper;

  const createComponent = () => {
    wrapper = shallowMount(App, {
      stubs: {
        'router-view': true,
      },
    });
  };

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

    expect(wrapper.exists()).toBe(true);
  });
});