Last active
October 2, 2020 14:44
-
-
Save bearkfear/d5ecb9aaaf5a07e5998ceac58b63a5db to your computer and use it in GitHub Desktop.
Como fazer o Mock do axios no typescript com jest
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
const mockedAxios = axios as jest.Mocked<typeof axios>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Como fazer mock do axios no Typescript