Last active
December 27, 2023 06:02
-
-
Save night-fury-rider/43723b43c66c04530d3eb12e1bd9fba1 to your computer and use it in GitHub Desktop.
Jest - Mocking Library Methods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jest.mock("react-native-share", ()=> { | |
open: jest.fn() | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment