Skip to content

Commit 4401ba9

Browse files
test(overmind-vue): fix test
1 parent 85f45ce commit 4401ba9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ describe('Vue', () => {
2727
foo: 'bar',
2828
},
2929
actions: {
30-
changeFoo: (action) =>
31-
action.mutate(({ state }) => (state.foo = 'bar2')),
30+
changeFoo: ({ state }) => (state.foo = 'bar2'),
3231
},
3332
})
3433
const connect = createConnect(app)
@@ -52,8 +51,7 @@ describe('Vue', () => {
5251
foo: 'bar',
5352
},
5453
actions: {
55-
changeFoo: (action) =>
56-
action.mutate(({ state }) => (state.foo = 'bar2')),
54+
changeFoo: ({ state }) => (state.foo = 'bar2'),
5755
},
5856
})
5957
const connect = createConnect(app)

0 commit comments

Comments
 (0)