id title testing Testing To mock when using Jest, add the bellow code on your __mock__ directory: jest.mock('react-native-share', () => ({ default: jest.fn(), }));