diff options
Diffstat (limited to 'spec/frontend/notes/stores')
-rw-r--r-- | spec/frontend/notes/stores/actions_spec.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/spec/frontend/notes/stores/actions_spec.js b/spec/frontend/notes/stores/actions_spec.js index f07ba1e032f..938ca1f5939 100644 --- a/spec/frontend/notes/stores/actions_spec.js +++ b/spec/frontend/notes/stores/actions_spec.js @@ -1129,9 +1129,12 @@ describe('Actions Notes Store', () => { describe('setConfidentiality', () => { it('calls the correct mutation with the correct args', () => { - testAction(actions.setConfidentiality, true, { noteableData: { confidential: false } }, [ - { type: mutationTypes.SET_ISSUE_CONFIDENTIAL, payload: true }, - ]); + return testAction( + actions.setConfidentiality, + true, + { noteableData: { confidential: false } }, + [{ type: mutationTypes.SET_ISSUE_CONFIDENTIAL, payload: true }], + ); }); }); |