Skip to content

Commit 2051d5e

Browse files
jmfigueroathomasjinlo
authored andcommitted
Typo: Follwing (jestjs#5756)
Typo in comment: // or you could use the follwing... // or you could use the following...
1 parent c70f29e commit 2051d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/MockFunctions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ test('should fetch users', () => {
172172
const resp = {data: [{name: 'Bob'}]};
173173
axios.get.mockResolvedValue(resp);
174174

175-
// or you could use the follwing depending on your use case:
175+
// or you could use the following depending on your use case:
176176
// axios.get.mockImpementation(() => Promise.resolve(resp))
177177

178178
return Users.all().then(users => expect(users).toEqual(resp.data));

0 commit comments

Comments
 (0)