Correctly fail Vuex action helper
This commit is contained in:
parent
857f4ef731
commit
6f0b16e312
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue