Skip to content

Commit

Permalink
Make Touchable* work with Detox 17 (#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
todorone committed Jul 16, 2020
1 parent 05d1e63 commit 733fafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion touchables/GenericTouchable.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ export default class GenericTouchable extends Component {
accessibilityStates: this.props.accessibilityStates,
accessibilityTraits: this.props.accessibilityTraits,
nativeID: this.props.nativeID,
testID: this.props.testID,
onLayout: this.props.onLayout,
hitSlop: this.props.hitSlop,
};
Expand All @@ -266,6 +265,7 @@ export default class GenericTouchable extends Component {
hitSlop={this.props.hitSlop}
shouldActivateOnStart={this.props.shouldActivateOnStart}
disallowInterruption={this.props.disallowInterruption}
testID={this.props.testID}
{...this.props.extraButtonProps}>
<Animated.View {...coreProps} style={this.props.style}>
{this.props.children}
Expand Down

0 comments on commit 733fafa

Please sign in to comment.