mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
[ReactNative] Explictly set displayName on tests
Summary: @public For some weird reason sometimes displayName is undefined on the OSS tests, manually set it for now to unbreak the tests. Test Plan: Run the tests on OSS
This commit is contained in:
@@ -47,4 +47,6 @@ var PromiseTest = React.createClass({
|
||||
|
||||
});
|
||||
|
||||
PromiseTest.displayName = 'PromiseTest';
|
||||
|
||||
module.exports = PromiseTest;
|
||||
|
||||
Reference in New Issue
Block a user