File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class Banana extends React.Component<any, any> {
45
45
}
46
46
47
47
changeFresh = ( ) => {
48
- this . setState ( state => ( {
48
+ this . setState ( ( state ) => ( {
49
49
fresh : ! state . fresh ,
50
50
} ) ) ;
51
51
} ;
@@ -320,7 +320,7 @@ test('toJSON', () => {
320
320
} ) ;
321
321
322
322
test ( 'debug' , ( ) => {
323
- jest . spyOn ( console , 'log' ) . mockImplementation ( x => x ) ;
323
+ jest . spyOn ( console , 'log' ) . mockImplementation ( ( x ) => x ) ;
324
324
325
325
const { debug } = render ( < Banana /> ) ;
326
326
@@ -343,7 +343,7 @@ test('debug', () => {
343
343
} ) ;
344
344
345
345
test ( 'debug changing component' , ( ) => {
346
- jest . spyOn ( console , 'log' ) . mockImplementation ( x => x ) ;
346
+ jest . spyOn ( console , 'log' ) . mockImplementation ( ( x ) => x ) ;
347
347
348
348
const { getByProps, debug } = render ( < Banana /> ) ;
349
349
You can’t perform that action at this time.
0 commit comments