Skip to content

Commit 7c5b817

Browse files
committed
format
1 parent a73fbe4 commit 7c5b817

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

jest.setup.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@ jest.mock('react-native-gesture-handler', () => {
4646
const React = require('react');
4747
const { View } = require('react-native');
4848
const GestureHandlerRootView = React.forwardRef(({ children, ...props }, ref) => (
49-
<View ref={ref} {...props}>{children}</View>
49+
<View ref={ref} {...props}>
50+
{children}
51+
</View>
5052
));
5153
GestureHandlerRootView.displayName = 'GestureHandlerRootView';
5254
return {
5355
...jest.requireActual('react-native-gesture-handler'),
5456
GestureHandlerRootView,
55-
gestureHandlerRootHOC: (Component) => Component
57+
gestureHandlerRootHOC: Component => Component
5658
};
5759
});
5860

0 commit comments

Comments
 (0)