Files
devhub/packages/mobile/jest/setup.js
2018-11-05 20:25:06 -02:00

13 lines
256 B
JavaScript

// TODO: How to mock properly? Any way to mock everything automagically?
jest.mock('react-native-gesture-handler', () => {
return {
Swipeable: () => 'View',
}
})
jest.mock('react-native-safari-view', () => {
return {
show: jest.fn(),
}
})