Skip to content

Commit

Permalink
fix(website): fix typo in 26.x TestingAsyncCode (#11208)
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiAnAn authored Mar 17, 2021
1 parent ce58a0d commit 27e4ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/versioned_docs/version-26.x/TestingAsyncCode.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ test('the data is peanut butter', async () => {
});

test('the fetch fails with an error', async () => {
await expect(fetchData()).rejects.toMatch'error');
await expect(fetchData()).rejects.toMatch('error');
});
```

Expand Down

0 comments on commit 27e4ea4

Please sign in to comment.