Skip to main content

Testing

To mock when using Jest, add the bellow code on your __mock__ directory:

jest.mock('react-native-share', () => ({
default: jest.fn(),
}));