We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c70f29e commit 2051d5eCopy full SHA for 2051d5e
docs/MockFunctions.md
@@ -172,7 +172,7 @@ test('should fetch users', () => {
172
const resp = {data: [{name: 'Bob'}]};
173
axios.get.mockResolvedValue(resp);
174
175
- // or you could use the follwing depending on your use case:
+ // or you could use the following depending on your use case:
176
// axios.get.mockImpementation(() => Promise.resolve(resp))
177
178
return Users.all().then(users => expect(users).toEqual(resp.data));
0 commit comments