You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/using-with-vuex.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ describe('Actions.vue', () => {
95
95
96
96
What’s happening here? First we tell Vue to use Vuex with the `localVue.use` method. This is just a wrapper around `Vue.use`.
97
97
98
-
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.
98
+
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.
99
99
100
100
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.
0 commit comments