Last active
January 16, 2021 21:59
-
-
Save tresende/1b858aaf0f6c0cb7585096e6fa27120c to your computer and use it in GitHub Desktop.
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('./esModule', () => ({ | |
__esModule: true, // this property makes it work | |
default: 'mockedDefaultExport', | |
namedExport: jest.fn() | |
})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment