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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/registry/explorer/components/group_empty_state_spec.js')
-rw-r--r--spec/frontend/registry/explorer/components/group_empty_state_spec.js40
1 files changed, 0 insertions, 40 deletions
diff --git a/spec/frontend/registry/explorer/components/group_empty_state_spec.js b/spec/frontend/registry/explorer/components/group_empty_state_spec.js
deleted file mode 100644
index 1b4de534317..00000000000
--- a/spec/frontend/registry/explorer/components/group_empty_state_spec.js
+++ /dev/null
@@ -1,40 +0,0 @@
-import Vuex from 'vuex';
-import { shallowMount, createLocalVue } from '@vue/test-utils';
-import { GlSprintf } from '@gitlab/ui';
-import { GlEmptyState } from '../stubs';
-import groupEmptyState from '~/registry/explorer/components/group_empty_state.vue';
-
-const localVue = createLocalVue();
-localVue.use(Vuex);
-
-describe('Registry Group Empty state', () => {
- let wrapper;
- let store;
-
- beforeEach(() => {
- store = new Vuex.Store({
- state: {
- config: {
- noContainersImage: 'foo',
- helpPagePath: 'baz',
- },
- },
- });
- wrapper = shallowMount(groupEmptyState, {
- localVue,
- store,
- stubs: {
- GlEmptyState,
- GlSprintf,
- },
- });
- });
-
- afterEach(() => {
- wrapper.destroy();
- });
-
- it('to match the default snapshot', () => {
- expect(wrapper.element).toMatchSnapshot();
- });
-});