diff --git a/docs/docs/how-to/testing/unit-testing.md b/docs/docs/how-to/testing/unit-testing.md index 1f7582bb464b7..5505169e71539 100644 --- a/docs/docs/how-to/testing/unit-testing.md +++ b/docs/docs/how-to/testing/unit-testing.md @@ -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.