Commit 6f0b16e3 authored by Phil Hughes's avatar Phil Hughes

Correctly fail Vuex action helper

parent 857f4ef7
...@@ -17,7 +17,7 @@ export default (action, payload, state, expectedMutations, done) => { ...@@ -17,7 +17,7 @@ export default (action, payload, state, expectedMutations, done) => {
expect(mutation.payload).to.deep.equal(payload); expect(mutation.payload).to.deep.equal(payload);
} }
} catch (error) { } catch (error) {
done(error); done.fail(error);
} }
count++; count++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment