File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ type DiffOptions = {
66 contextLines ?: number
77 aAnnotation ?: string
88 bAnnotation ?: string
9+ stablePatchmarks ?: boolean
910}
1011
1112declare namespace jest {
Original file line number Diff line number Diff line change @@ -9,21 +9,22 @@ const prettyFormat = require('pretty-format');
99const { ReactElement } = prettyFormat . plugins ;
1010const reactElement = Symbol . for ( 'react.element' ) ;
1111
12- type Options = {
12+ type Options = { |
1313 expand ? : boolean ,
1414 colors ? : boolean ,
1515 contextLines ? : number ,
1616 aAnnotation ? : string ,
1717 bAnnotation ? : string ,
18- } ;
18+ stablePatchmarks ? : boolean ,
19+ | } ;
1920
2021const defaultOptions = {
2122 expand : false ,
2223 colors : false ,
2324 contextLines : - 1 , // Forces to use default from Jest
24- stablePatchmarks : false ,
2525 aAnnotation : 'First value' ,
2626 bAnnotation : 'Second value' ,
27+ stablePatchmarks : false ,
2728} ;
2829
2930const SNAPSHOT_TITLE = 'Snapshot Diff:\n' ;
You can’t perform that action at this time.
0 commit comments