[test] update fixtures store to return a function

This commit is contained in:
Pooya Parsa 2017-05-02 14:05:09 +04:30
parent 670b1254dd
commit 8a25da81fb
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
export const state = {
baz: 'Vuex Nested Modules'
export const state = () => {
return {
baz: 'Vuex Nested Modules'
}
}
export const getters = {

View File

@ -3,7 +3,7 @@ import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
const store = () => new Vuex.Store({
state: {
counter: 0
},