From c4b8b5fe3b68fb44831f5ce6d0f19b509c3e67df Mon Sep 17 00:00:00 2001 From: Shao Xiang Sum Date: Wed, 7 Nov 2018 22:20:54 +0100 Subject: [PATCH] Fix small typo --- docs/guides/using-with-vuex.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/using-with-vuex.md b/docs/guides/using-with-vuex.md index a69d755b9..cd01db127 100644 --- a/docs/guides/using-with-vuex.md +++ b/docs/guides/using-with-vuex.md @@ -95,7 +95,7 @@ describe('Actions.vue', () => { What’s happening here? First we tell Vue to use Vuex with the `localVue.use` method. This is just a wrapper around `Vue.use`. -We then make a mock store by calling `new Vuex.store` with our mock values. We only pass it the actions, since that’s all we care about. +We then make a mock store by calling `new Vuex.Store` with our mock values. We only pass it the actions, since that’s all we care about. The actions are [jest mock functions](https://facebook.github.io/jest/docs/en/mock-functions.html). These mock functions give us methods to assert whether the actions were called or not.