mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 08:05:34 +00: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:
parent
b58578e935
commit
3bb303e81a
@ -53,6 +53,8 @@ var AppEventsTest = React.createClass({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
AppEventsTest.displayName = 'AppEventsTest';
|
||||||
|
|
||||||
var styles = StyleSheet.create({
|
var styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
margin: 40,
|
margin: 40,
|
||||||
|
@ -176,4 +176,6 @@ var AsyncStorageTest = React.createClass({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
AsyncStorageTest.displayName = 'AsyncStorageTest';
|
||||||
|
|
||||||
module.exports = AsyncStorageTest;
|
module.exports = AsyncStorageTest;
|
||||||
|
@ -59,4 +59,6 @@ var IntegrationTestHarnessTest = React.createClass({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
IntegrationTestHarnessTest.displayName = 'IntegrationTestHarnessTest';
|
||||||
|
|
||||||
module.exports = IntegrationTestHarnessTest;
|
module.exports = IntegrationTestHarnessTest;
|
||||||
|
@ -164,4 +164,6 @@ var styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
LayoutEventsTest.displayName = 'LayoutEventsTest';
|
||||||
|
|
||||||
module.exports = LayoutEventsTest;
|
module.exports = LayoutEventsTest;
|
||||||
|
@ -47,4 +47,6 @@ var PromiseTest = React.createClass({
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
PromiseTest.displayName = 'PromiseTest';
|
||||||
|
|
||||||
module.exports = PromiseTest;
|
module.exports = PromiseTest;
|
||||||
|
@ -53,4 +53,6 @@ var styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
SimpleSnapshotTest.displayName = 'SimpleSnapshotTest';
|
||||||
|
|
||||||
module.exports = SimpleSnapshotTest;
|
module.exports = SimpleSnapshotTest;
|
||||||
|
@ -152,4 +152,6 @@ var styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
TimersTest.displayName = 'TimersTest';
|
||||||
|
|
||||||
module.exports = TimersTest;
|
module.exports = TimersTest;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user