summaryrefslogtreecommitdiff
path: root/spec/javascripts/helpers/vuex_action_helper.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-03-29 09:37:01 +0100
committerPhil Hughes <me@iamphill.com>2018-03-29 09:37:01 +0100
commit6f0b16e31263e61392223bbf2d8d5be95e905982 (patch)
tree6d4d6cf2af4613b7bc9db21fb73e0a13c8770f55 /spec/javascripts/helpers/vuex_action_helper.js
parent857f4ef731926bdf705625dd35b2563f72efcba6 (diff)
downloadgitlab-ce-6f0b16e31263e61392223bbf2d8d5be95e905982.tar.gz
Correctly fail Vuex action helper
Diffstat (limited to 'spec/javascripts/helpers/vuex_action_helper.js')
-rw-r--r--spec/javascripts/helpers/vuex_action_helper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/helpers/vuex_action_helper.js b/spec/javascripts/helpers/vuex_action_helper.js
index 2d386fe1da5..5524caaffb1 100644
--- a/spec/javascripts/helpers/vuex_action_helper.js
+++ b/spec/javascripts/helpers/vuex_action_helper.js
@@ -17,7 +17,7 @@ export default (action, payload, state, expectedMutations, done) => {
expect(mutation.payload).to.deep.equal(payload);
}
} catch (error) {
- done(error);
+ done.fail(error);
}
count++;