mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-27 22:54:46 +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:
@@ -53,6 +53,8 @@ var AppEventsTest = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
AppEventsTest.displayName = 'AppEventsTest';
|
||||
|
||||
var styles = StyleSheet.create({
|
||||
container: {
|
||||
margin: 40,
|
||||
|
||||
Reference in New Issue
Block a user