Skip to content

Commit

Permalink
Correct misspelling in testing documentation
Browse files Browse the repository at this point in the history
```diff
- Styleheets and images ....
+ Styleheets and images ....
```
closes vercel#33754
  • Loading branch information
nelsonfrank committed Jan 27, 2022
1 parent 16b5bfa commit c437f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/testing.md
Expand Up @@ -348,7 +348,7 @@ You can learn more about each configuration option in the [Jest docs](https://je

**Handling stylesheets and image imports**

Styleheets and images aren't used in the tests but importing them may cause errors, so they will need to be mocked. Create the mock files referenced in the configuration above - `fileMock.js` and `styleMock.js` - inside a `__mocks__` directory:
Stylesheets and images aren't used in the tests but importing them may cause errors, so they will need to be mocked. Create the mock files referenced in the configuration above - `fileMock.js` and `styleMock.js` - inside a `__mocks__` directory:

```js
// __mocks__/fileMock.js
Expand Down

0 comments on commit c437f36

Please sign in to comment.