TypeScript Setup
You can write tests using TypeScript to get auto-completion and type safety.
You will need typescript
and ts-node
installed as devDependencies
, via:
- npm
- Yarn
- pnpm
$ npm install typescript ts-node --save-dev
$ yarn add typescript ts-node --dev
$ pnpm add typescript ts-node --save-dev