Created
January 24, 2021 04:42
-
-
Save ng-the-engineer/d8e1ad6fdd12c2546f8439cb29c74656 to your computer and use it in GitHub Desktop.
Code snippet - mocked response
This file contains hidden or 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 mockedResponse: AxiosResponse = { | |
data: { | |
name: "Henry", | |
}, | |
status: 200, | |
statusText: "OK", | |
headers: {}, | |
config: {}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment