Fix lint error

This commit is contained in:
Nicolas Gallagher
2016-12-07 16:49:53 -08:00
parent 7e75d037f2
commit 6bffe1775f
4 changed files with 6 additions and 5 deletions

View File

@@ -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();
});
});