Skip to content

Commit

Permalink
test(#45): update test store
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbeng89 committed Sep 25, 2020
1 parent 52740bb commit 9a84fca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
3 changes: 2 additions & 1 deletion tests/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export const store = {
paths: [
{
namespace: "list",
ignoreMutations: ["addShadow", "removeShadow"]
ignoreMutations: ["addShadow", "removeShadow"],
exposeUndoRedoConfig: true
}
]
})
Expand Down
19 changes: 11 additions & 8 deletions tests/store/modules/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,14 @@ export const mutations = {
}
};

export default scaffoldStore({
state,
getters,
actions,
mutations,
namespaced: true,
debug
});
export default scaffoldStore(
{
state,
getters,
actions,
mutations,
namespaced: true,
debug
},
true
);

0 comments on commit 9a84fca

Please sign in to comment.