Install
typescript https://www.typescriptlang.org/
Jest Runner https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner
vscode-icons https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons
ts-jest https://github.com/kulshekhar/ts-jest
auto-imports https://marketplace.visualstudio.com/items?itemName=steoates.autoimport
Command line
npm install -g typescript
npm install --save-dev jest
npm i @types/jest
Prerequisites npm i -D jest typescript
Installing npm i -D ts-jest @types/jest
Creating config npx ts-jest config:init
Compile all tsc (Compila dependencias TypeScript)
Compile file tsc '{path}/foo.ts' (Compila/Genera fichero transpilado JS)
Run file npx node '{path}/foo.js' (Ejecuta fichero transpilado JS)
Compile/Run (fly) npx ts-node '{path}/foo.ts'
Running tests npx jest