From 9e109e586972d80188694a10d3f0bcaad4925820 Mon Sep 17 00:00:00 2001 From: affiliatescoder <38381773+affiliatescoder@users.noreply.github.com> Date: Mon, 23 Apr 2018 00:11:56 -0500 Subject: [PATCH] fixed typo --- docs/en/guides/using-with-vuex.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/guides/using-with-vuex.md b/docs/en/guides/using-with-vuex.md index 724f94697..3d1d6e2e9 100644 --- a/docs/en/guides/using-with-vuex.md +++ b/docs/en/guides/using-with-vuex.md @@ -287,7 +287,7 @@ export default { Getters, mutations, and actions are all JavaScript functions, so we can test them without using Vue Test Utils and Vuex. -The benefit to testing getters, mutations, and actions separately is that your unit tests are detailed. When they fail, you know exactly what is wrong with your code. The downside is that you will need to mock Vuex funtions, like `commit` and `dispatch`. This can lead to a situation where your unit tests pass, but your production code fails because your mocks are incorrect. +The benefit to testing getters, mutations, and actions separately is that your unit tests are detailed. When they fail, you know exactly what is wrong with your code. The downside is that you will need to mock Vuex functions, like `commit` and `dispatch`. This can lead to a situation where your unit tests pass, but your production code fails because your mocks are incorrect. We'll create two test files, `mutations.spec.js` and `getters.spec.js`: