blob: fddabf46c0b45c08fa891c7d554511b8914bc523 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { shallowMount } from '@vue/test-utils';
import GlobalCatalog from '~/ci/catalog/global_catalog.vue';
import CiCatalogHome from '~/ci/catalog/components/ci_catalog_home.vue';
describe('GlobalCatalog', () => {
let wrapper;
const findHomeComponent = () => wrapper.findComponent(CiCatalogHome);
beforeEach(() => {
wrapper = shallowMount(GlobalCatalog);
});
it('renders the catalog home component', () => {
expect(findHomeComponent().exists()).toBe(true);
});
});
|