fixed tests

This commit is contained in:
Martin Bielik 2017-12-21 15:20:53 +01:00
parent 6f004666c0
commit 3a27d31738
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,10 @@ const Animated = {
View: View View: View
}; };
const I18nManager = {
isRTL: false,
};
const Text = () => "Text"; const Text = () => "Text";
const TouchableHighlight = () => false; const TouchableHighlight = () => false;
const TouchableWithoutFeedback = () => false; const TouchableWithoutFeedback = () => false;
@ -55,6 +59,7 @@ ReactNative.ToolbarAndroid = ToolbarAndroid;
ReactNative.Image = Image; ReactNative.Image = Image;
ReactNative.AppRegistry = AppRegistry; ReactNative.AppRegistry = AppRegistry;
ReactNative.Animated = Animated; ReactNative.Animated = Animated;
ReactNative.I18nManager = I18nManager;
ReactNative.Platform = Platform; ReactNative.Platform = Platform;
module.exports = ReactNative; module.exports = ReactNative;