INNER CODE UNIT · JavaScript
ToolbarAndroid
instea/react-native-popup-menu · __mocks__/react-native.js:43
const ToolbarAndroid = () => false;
const Image = () => false;
const ScrollView = () => false;
const Platform = {
select: jest.fn(o => o.ios),
};
const PixelRatio = {
roundToNearestPixel: n => n,
}
const BackHandler = {
addEventListener: jest.fn(),
removeEventListener: jest.fn(),
}
ReactNative.View = View;
ReactNative.ScrollView = ScrollView;
ReactNative.ListView = ListView;
ReactNative.Text = Text;