Correctly fail Vuex action helper

This commit is contained in:
Phil Hughes 2018-03-29 09:37:01 +01:00
parent 857f4ef731
commit 6f0b16e312
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F

View file

@ -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++;