Installation
Dependencies
You can install ts-jest
and dependencies all at once with one of the following commands.
NPM
npm install --save-dev jest typescript ts-jest @types/jest
Yarn
yarn add --dev jest typescript ts-jest @types/jest
tip
Tip: If you get an error with the following npm
commands such as npx: command not found
, you can replace npx XXX
with node node_modules/.bin/XXX
from the root of your project.