Fix test id test case

Differential Revision: D2631505

fb-gh-sync-id: a7a21f114e521ca4ffff9fe9f8408cda70ad5ff3
This commit is contained in:
Andrei Coman 2015-11-09 06:31:37 -08:00 committed by facebook-github-bot-5
parent cb0d510955
commit 86c1375c1a
1 changed files with 1 additions and 2 deletions

View File

@ -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,