Fix test id test case
Differential Revision: D2631505 fb-gh-sync-id: a7a21f114e521ca4ffff9fe9f8408cda70ad5ff3
This commit is contained in:
parent
cb0d510955
commit
86c1375c1a
|
@ -21,7 +21,6 @@ var Touchable = require('Touchable');
|
||||||
var TouchableWithoutFeedback = require('TouchableWithoutFeedback');
|
var TouchableWithoutFeedback = require('TouchableWithoutFeedback');
|
||||||
var View = require('View');
|
var View = require('View');
|
||||||
|
|
||||||
var cloneWithProps = require('cloneWithProps');
|
|
||||||
var ensureComponentIsNative = require('ensureComponentIsNative');
|
var ensureComponentIsNative = require('ensureComponentIsNative');
|
||||||
var ensurePositiveDelayProps = require('ensurePositiveDelayProps');
|
var ensurePositiveDelayProps = require('ensurePositiveDelayProps');
|
||||||
var keyOf = require('keyOf');
|
var keyOf = require('keyOf');
|
||||||
|
@ -224,7 +223,7 @@ var TouchableHighlight = React.createClass({
|
||||||
onResponderRelease={this.touchableHandleResponderRelease}
|
onResponderRelease={this.touchableHandleResponderRelease}
|
||||||
onResponderTerminate={this.touchableHandleResponderTerminate}
|
onResponderTerminate={this.touchableHandleResponderTerminate}
|
||||||
testID={this.props.testID}>
|
testID={this.props.testID}>
|
||||||
{cloneWithProps(
|
{React.cloneElement(
|
||||||
onlyChild(this.props.children),
|
onlyChild(this.props.children),
|
||||||
{
|
{
|
||||||
ref: CHILD_REF,
|
ref: CHILD_REF,
|
||||||
|
|
Loading…
Reference in New Issue