INNER CODE UNIT · JavaScript
ScrollView
instea/react-native-popup-menu · __mocks__/react-native.js:45
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;
ReactNative.TouchableOpacity = TouchableOpacity;
ReactNative.TouchableHighlight = TouchableHighlight;