mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-04-24 04:25:27 +08:00
Fix lint error
This commit is contained in:
@@ -93,7 +93,8 @@ describe('components/Image', () => {
|
||||
});
|
||||
|
||||
test('passes other props through to underlying View', () => {
|
||||
const component = renderer.create(<Image onResponderGrant={() => {}} />);
|
||||
const fn = () => {};
|
||||
const component = renderer.create(<Image onResponderGrant={fn} />);
|
||||
expect(component.toJSON()).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user