Skip to content

Commit

Permalink
docs: add link to the typescript integration instructions (#11806)
Browse files Browse the repository at this point in the history
  • Loading branch information
hexagonrecursion committed Sep 17, 2021
1 parent 651eb37 commit 7c4ea24
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -25,6 +25,8 @@ While Jest has supported Babel 7 since version 22 released in December 2017, it

If you want to run typechecks while you test, you should use [`ts-jest`](https://github.com/kulshekhar/ts-jest). You will need to configure the transformer, as Jest by default applies Babel to `.ts` (and `.tsx`) files. Alternatively, you can run `tsc` or even use a Jest runner to simultaneously transpile your TypeScript whilst running your tests! See [`jest-runner-tsc`](https://github.com/azz/jest-runner-tsc) for more information.

See [the docs](/docs/getting-started#using-typescript) for more details.

_Note that if you for whatever reason cannot upgrade to Babel 7, you can still use Jest 24 with `babel@6` as long as you keep `babel-jest` at version 23._

## `test.todo`
Expand Down

0 comments on commit 7c4ea24

Please sign in to comment.