Skip to content

Commit c843e41

Browse files
test(overmind): update tests related to proxy-state-tree changes
1 parent e537c46 commit c843e41

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/node_modules/overmind/src/index.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { EventType, Overmind, IAction, createOvermindMock } from './'
1+
import { EventType, IAction, Overmind, createOvermindMock } from './'
22
import { namespaced } from './config'
33

44
function toJSON(obj) {
@@ -221,6 +221,7 @@ describe('Overmind', () => {
221221
method: 'set',
222222
path: 'foo',
223223
hasChangedValue: true,
224+
revertValue: 'bar',
224225
},
225226
],
226227
executionId: 0,

packages/node_modules/overmind/src/mock.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createOvermindMock, IAction, IOnInitialize } from './'
1+
import { IAction, IOnInitialize, createOvermindMock } from './'
22

33
describe('Mock', () => {
44
test('should run action tests', () => {
@@ -38,6 +38,7 @@ describe('Mock', () => {
3838
path: 'foo',
3939
args: ['bar2!!!'],
4040
hasChangedValue: true,
41+
revertValue: 'bar',
4142
},
4243
])
4344
})
@@ -75,6 +76,7 @@ describe('Mock', () => {
7576
path: 'foo',
7677
args: ['bar!'],
7778
hasChangedValue: true,
79+
revertValue: 'bar',
7880
},
7981
])
8082
})

0 commit comments

Comments
 (0)