From 1d452f3e4daa469ad7528bb63aea10e1d0c4ff7c Mon Sep 17 00:00:00 2001 From: Andy Street Date: Fri, 7 Aug 2015 10:32:56 -0100 Subject: [PATCH] [ReactNative] Remove testID from root view --- Libraries/Components/View/View.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/Components/View/View.js b/Libraries/Components/View/View.js index 244ea90ea..5566cc7c9 100644 --- a/Libraries/Components/View/View.js +++ b/Libraries/Components/View/View.js @@ -140,7 +140,8 @@ var View = React.createClass({ onMagicTap: PropTypes.func, /** - * Used to locate this view in end-to-end tests. + * Used to locate this view in end-to-end tests. NB: disables the 'layout-only + * view removal' optimization for this view! */ testID: PropTypes.string,