Skip to content

Commit 2b5ac66

Browse files
author
Andrzej Antoni Kwaśniewski
committed
mocking HostGestureDetector directly
1 parent bc8a4bc commit 2b5ac66

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • packages/react-native-gesture-handler/src/mocks

packages/react-native-gesture-handler/src/mocks/mocks.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ const LongPressGestureHandler = View;
3434
const PinchGestureHandler = View;
3535
const RotationGestureHandler = View;
3636
const FlingGestureHandler = View;
37-
const NativeDetector = View;
38-
const InterceptingDetector = View;
37+
const HostGestureDetector = View;
3938

4039
export default {
4140
TouchableHighlight,
@@ -63,8 +62,7 @@ export default {
6362
configureRelations,
6463
flushOperations,
6564
install,
66-
NativeDetector,
67-
InterceptingDetector,
65+
HostGestureDetector,
6866
// Probably can be removed
6967
Directions,
7068
State,

0 commit comments

Comments
 (0)