2015-11-19 21:32:37 +00:00
|
|
|
/**
|
2018-09-11 22:27:47 +00:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2015-11-19 21:32:37 +00:00
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2018-05-10 22:44:55 +00:00
|
|
|
*
|
|
|
|
* @format
|
2015-11-19 21:32:37 +00:00
|
|
|
*/
|
2018-05-10 22:44:55 +00:00
|
|
|
|
2015-11-19 21:32:37 +00:00
|
|
|
'use strict';
|
|
|
|
|
2018-05-14 07:09:36 +00:00
|
|
|
const React = require('react');
|
|
|
|
const ReactNative = require('react-native');
|
|
|
|
const {View} = ReactNative;
|
2015-11-19 21:32:37 +00:00
|
|
|
|
2018-05-14 07:09:36 +00:00
|
|
|
const {TestModule} = ReactNative.NativeModules;
|
2015-11-19 21:32:37 +00:00
|
|
|
|
2016-07-26 08:00:02 +00:00
|
|
|
class PropertiesUpdateTest extends React.Component {
|
2015-11-19 21:32:37 +00:00
|
|
|
render() {
|
|
|
|
if (this.props.markTestPassed) {
|
|
|
|
TestModule.markTestPassed(true);
|
|
|
|
}
|
2018-05-10 22:44:55 +00:00
|
|
|
return <View />;
|
2015-11-19 21:32:37 +00:00
|
|
|
}
|
2016-07-26 08:00:02 +00:00
|
|
|
}
|
2015-11-19 21:32:37 +00:00
|
|
|
|
|
|
|
PropertiesUpdateTest.displayName = 'PropertiesUpdateTest';
|
|
|
|
|
|
|
|
module.exports = PropertiesUpdateTest;
|