File tree 4 files changed +804
-1796
lines changed
4 files changed +804
-1796
lines changed Original file line number Diff line number Diff line change 22
22
"jest" : " >=16"
23
23
},
24
24
"dependencies" : {
25
- "jest-diff" : " ^26.1.0 " ,
26
- "jest-snapshot" : " ^26.1.0 " ,
27
- "pretty-format" : " ^26.1.0 "
25
+ "jest-diff" : " ^27.0.2 " ,
26
+ "jest-snapshot" : " ^27.0.4 " ,
27
+ "pretty-format" : " ^27.0.2 "
28
28
},
29
29
"devDependencies" : {
30
30
"@babel/cli" : " ^7.7.0" ,
38
38
"enzyme-to-json" : " ^3.4.0" ,
39
39
"eslint" : " ^7.0.0" ,
40
40
"flow-bin" : " ^0.129.0" ,
41
- "jest" : " ^26.1.0 " ,
41
+ "jest" : " ^27.0.4 " ,
42
42
"react" : " ^16.13.1" ,
43
43
"react-dom" : " 16.13.1" ,
44
44
"react-test-renderer" : " ^16.13.1"
Original file line number Diff line number Diff line change 2
2
3
3
'use strict' ;
4
4
5
- const diff = require ( 'jest-diff' ) . default ;
5
+ const { diff } = require ( 'jest-diff' ) ;
6
6
const snapshot = require ( 'jest-snapshot' ) ;
7
7
const reactSerializer = require ( './react-serializer' ) ;
8
8
Original file line number Diff line number Diff line change 2
2
3
3
'use strict' ;
4
4
5
- const prettyFormat = require ( 'pretty-format' ) ;
5
+ const prettyFormat = require ( 'pretty-format' ) . default ;
6
6
const snapshot = require ( 'jest-snapshot' ) ;
7
7
8
8
const serializers = snapshot . getSerializers ( ) ;
You can’t perform that action at this time.
0 commit comments