Untitled
user_0650522
plain_text
a year ago
310 B
8
Indexable
import { createNavigationMock, createAppContainer } from 'react-navigation';
jest.mock('react-navigation', () => ({
...jest.requireActual('react-navigation'),
createAppContainer: jest.fn().mockReturnValue(createAppContainer),
createNavigationMock: jest.fn().mockReturnValue(createNavigationMock()),
}));Editor is loading...
Leave a Comment