Skip to content

Commit 1845c9d

Browse files
committed
lint fix
1 parent 28272d8 commit 1845c9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/__tests__/render.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Banana extends React.Component<any, any> {
4545
}
4646

4747
changeFresh = () => {
48-
this.setState(state => ({
48+
this.setState((state) => ({
4949
fresh: !state.fresh,
5050
}));
5151
};
@@ -320,7 +320,7 @@ test('toJSON', () => {
320320
});
321321

322322
test('debug', () => {
323-
jest.spyOn(console, 'log').mockImplementation(x => x);
323+
jest.spyOn(console, 'log').mockImplementation((x) => x);
324324

325325
const { debug } = render(<Banana />);
326326

@@ -343,7 +343,7 @@ test('debug', () => {
343343
});
344344

345345
test('debug changing component', () => {
346-
jest.spyOn(console, 'log').mockImplementation(x => x);
346+
jest.spyOn(console, 'log').mockImplementation((x) => x);
347347

348348
const { getByProps, debug } = render(<Banana />);
349349

0 commit comments

Comments
 (0)