Created
April 18, 2022 15:24
-
-
Save enzzoperez/eaa4ac4223f59932ad92c3a96b4c80c1 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
import axios from 'axios'; | |
import MockAdapter from 'axios-mock-adapter'; | |
describe('Testing uses cases for async hook', () => { | |
it('testing success get request', async () => { | |
const mock = new MockAdapter(axios); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment