Skip to content

Commit

Permalink
Added mocks for pan and scroll gesture components (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdmg94 authored and osdnk committed Nov 13, 2019
1 parent 29eb5ab commit 7411201
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions __mocks__/RNGestureHandlerModule.js
@@ -1,4 +1,8 @@
import { View, ScrollView } from 'react-native'

export default {
ScrollView,
PanGestureHandler: View,
attachGestureHandler: () => {},
createGestureHandler: () => {},
dropGestureHandler: () => {},
Expand Down

0 comments on commit 7411201

Please sign in to comment.