Untitled

 avatar
user_0650522
plain_text
a month ago
310 B
4
Indexable
Never
import { createNavigationMock, createAppContainer } from 'react-navigation';

jest.mock('react-navigation', () => ({
  ...jest.requireActual('react-navigation'),
  createAppContainer: jest.fn().mockReturnValue(createAppContainer),
  createNavigationMock: jest.fn().mockReturnValue(createNavigationMock()),
}));
Leave a Comment