File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ type DiffOptions = {
6
6
contextLines ?: number
7
7
aAnnotation ?: string
8
8
bAnnotation ?: string
9
+ stablePatchmarks ?: boolean
9
10
}
10
11
11
12
declare namespace jest {
Original file line number Diff line number Diff line change @@ -9,21 +9,22 @@ const prettyFormat = require('pretty-format');
9
9
const { ReactElement } = prettyFormat . plugins ;
10
10
const reactElement = Symbol . for ( 'react.element' ) ;
11
11
12
- type Options = {
12
+ type Options = { |
13
13
expand ? : boolean ,
14
14
colors ? : boolean ,
15
15
contextLines ? : number ,
16
16
aAnnotation ? : string ,
17
17
bAnnotation ? : string ,
18
- } ;
18
+ stablePatchmarks ? : boolean ,
19
+ | } ;
19
20
20
21
const defaultOptions = {
21
22
expand : false ,
22
23
colors : false ,
23
24
contextLines : - 1 , // Forces to use default from Jest
24
- stablePatchmarks : false ,
25
25
aAnnotation : 'First value' ,
26
26
bAnnotation : 'Second value' ,
27
+ stablePatchmarks : false ,
27
28
} ;
28
29
29
30
const SNAPSHOT_TITLE = 'Snapshot Diff:\n' ;
You can’t perform that action at this time.
0 commit comments