mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Open sourced 4 more instrumentation tests for RN Android
Summary: More instrumentation tests in OSS means less work for FB engineers to investigate if a PR breaks some internal tests. + increased timeouts and retries for OSS tests runner Reviewed By: andreicoman11 Differential Revision: D3292582 fbshipit-source-id: 3f8aa4d3536450ea3af7acff044b9bb62be0f9db
This commit is contained in:
committed by
Facebook Github Bot 2
parent
31c8b3bd61
commit
2c3ca4c058
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*
|
||||
* @providesModule CatalystRootViewTestModule
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var React = require('React');
|
||||
var Recording = require('NativeModules').Recording;
|
||||
var View = require('View');
|
||||
|
||||
var CatalystRootViewTestApp = React.createClass({
|
||||
componentWillUnmount: function() {
|
||||
Recording.record('RootComponentWillUnmount');
|
||||
},
|
||||
render: function() {
|
||||
return <View collapsable={false} style={{alignSelf: 'stretch'}} />;
|
||||
},
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
CatalystRootViewTestApp: CatalystRootViewTestApp,
|
||||
};
|
||||
Reference in New Issue
Block a user