Skip to content

Commit

Permalink
chore(docs): Add dependency for TypeScript testing (#36050)
Browse files Browse the repository at this point in the history
  • Loading branch information
openscript authored Jul 22, 2022
1 parent a558313 commit 45bb97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/how-to/testing/unit-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ If you are using TypeScript, you need to install typings packages and make
two changes to your config.

```shell
npm install --save-dev @types/jest @types/react-test-renderer
npm install --save-dev @types/jest @types/react-test-renderer @babel/preset-typescript
```

Update the transform in `jest.config.js` to run `jest-preprocess` on files in your project's root directory.
Expand Down

0 comments on commit 45bb97a

Please sign in to comment.