debian-mirror-gitlab/spec/frontend/releases/components/release_skeleton_loader_spec.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
438 B
JavaScript
Raw Normal View History

2021-01-03 14:25:43 +05:30
import { GlSkeletonLoader } from '@gitlab/ui';
2021-03-11 19:13:27 +05:30
import { mount } from '@vue/test-utils';
2021-01-03 14:25:43 +05:30
import ReleaseSkeletonLoader from '~/releases/components/release_skeleton_loader.vue';
describe('release_skeleton_loader.vue', () => {
let wrapper;
beforeEach(() => {
wrapper = mount(ReleaseSkeletonLoader);
});
it('renders a GlSkeletonLoader', () => {
2022-10-11 01:57:18 +05:30
expect(wrapper.findComponent(GlSkeletonLoader).exists()).toBe(true);
2021-01-03 14:25:43 +05:30
});
});