Commit 42485409 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '216742-remove-default-export-from-container-registry-store' into 'master'

Remove default export from container registry store

Closes #216742

See merge request gitlab-org/gitlab!33586
parents b6602573 077d0f7c
......@@ -7,6 +7,7 @@ import state from './state';
Vue.use(Vuex);
// eslint-disable-next-line import/prefer-default-export
export const createStore = () =>
new Vuex.Store({
state,
......@@ -14,6 +15,3 @@ export const createStore = () =>
actions,
mutations,
});
// Deprecated and to be removed
export default createStore();
import { shallowMount } from '@vue/test-utils';
import component from '~/registry/explorer/pages/index.vue';
import store from '~/registry/explorer/stores/';
import { createStore } from '~/registry/explorer/stores/';
describe('List Page', () => {
let wrapper;
let store;
const findRouterView = () => wrapper.find({ ref: 'router-view' });
......@@ -17,6 +18,7 @@ describe('List Page', () => {
};
beforeEach(() => {
store = createStore();
mountComponent();
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment