diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-03-29 11:14:18 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-03-29 11:14:18 +0100 |
commit | 470b8ca10ade4af96eb74f908c01d51e227accb3 (patch) | |
tree | 58fed065a33e95e8c540e501372d7b3d74355cc7 /spec/javascripts/registry | |
parent | e26d20311cf8ef1a20a8973572e781bab76a0a5b (diff) | |
download | gitlab-ce-vuex-action-helper-correctly-fail.tar.gz |
Add dispatch mock to the test helpervuex-action-helper-correctly-fail
Diffstat (limited to 'spec/javascripts/registry')
-rw-r--r-- | spec/javascripts/registry/stores/actions_spec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/javascripts/registry/stores/actions_spec.js b/spec/javascripts/registry/stores/actions_spec.js index 19144ae0c0f..bc4c444655a 100644 --- a/spec/javascripts/registry/stores/actions_spec.js +++ b/spec/javascripts/registry/stores/actions_spec.js @@ -49,6 +49,7 @@ describe('Actions Registry Store', () => { { type: types.TOGGLE_MAIN_LOADING }, { type: types.SET_REPOS_LIST, payload: reposServerResponse }, ], + [], done, ); }); @@ -88,6 +89,7 @@ describe('Actions Registry Store', () => { }, }, ], + [], done, ); }); @@ -101,6 +103,7 @@ describe('Actions Registry Store', () => { 'endpoint', mockedState, [{ type: types.SET_MAIN_ENDPOINT, payload: 'endpoint' }], + [], done, ); }); @@ -113,6 +116,7 @@ describe('Actions Registry Store', () => { null, mockedState, [{ type: types.TOGGLE_MAIN_LOADING }], + [], done, ); }); |