Export default in vuex_shared/modal/actions
**Why?** This prevents erros when using actions in karma test.
This commit is contained in:
parent
d9e4e3f796
commit
ff1b442801
1 changed files with 3 additions and 0 deletions
|
@ -15,3 +15,6 @@ export const show = ({ commit }) => {
|
|||
export const hide = ({ commit }) => {
|
||||
commit(types.HIDE);
|
||||
};
|
||||
|
||||
// prevent babel-plugin-rewire from generating an invalid default during karma tests
|
||||
export default () => {};
|
||||
|
|
Loading…
Reference in a new issue