Skip to content

Commit c0bc53c

Browse files
refactor(overmind-vue): refactor tests to new api
1 parent 34883ce commit c0bc53c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/node_modules/overmind-vue/src/Index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('Vue', () => {
2424
foo: 'bar',
2525
},
2626
actions: {
27-
changeFoo: (action) => action().mutate((state) => (state.foo = 'bar2')),
27+
changeFoo: (action) => action.mutate((state) => (state.foo = 'bar2')),
2828
},
2929
})
3030

@@ -48,7 +48,7 @@ describe('Vue', () => {
4848
foo: 'bar',
4949
},
5050
actions: {
51-
changeFoo: (action) => action().mutate((state) => (state.foo = 'bar2')),
51+
changeFoo: (action) => action.mutate((state) => (state.foo = 'bar2')),
5252
},
5353
})
5454

0 commit comments

Comments
 (0)