Dmitry

Results 23 comments of Dmitry

@Kaung-Htet-Hein thanks, I tried, but it doesn't help. ``` import { registerSheet } from 'react-native-actions-sheet'; ``` this method renders sheets in a portal, so if we mock this lib, then...

@Kaung-Htet-Hein well, I made it work in this way ``` jest.mock('react-native-actions-sheet', () => { const funcs = jest.requireActual('react-native-actions-sheet'); return { __esModule: true, ...funcs, SheetManager: { show: funcs.SheetManager.show, hide: jest.fn(), //...

yes, but in this case it always has `pending` state