mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-15 01:49:36 +08:00
13 lines
256 B
JavaScript
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(),
|
|
}
|
|
})
|