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/notes/stores/actions_spec.js')
-rw-r--r--spec/frontend/notes/stores/actions_spec.js9
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 }],
+ );
});
});