Skip to content

Commit 43d9f4f

Browse files
test(overmind): fix test
1 parent 5adcd15 commit 43d9f4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
IOnInitialize,
55
IConfig,
66
rehydrate,
7+
json,
78
} from './'
89
import { IMutation } from 'proxy-state-tree'
910

@@ -78,7 +79,7 @@ describe('Mock', () => {
7879

7980
const overmind = new Overmind(config)
8081

81-
expect(overmind.state).toEqual({
82+
expect(json(overmind.state)).toEqual({
8283
foo: 'bar2',
8384
})
8485
})

0 commit comments

Comments
 (0)