Skip to content
/ ts-tdd Public template

Basic boilerplate for TDD in TypeScript

License

Notifications You must be signed in to change notification settings

textbook/ts-tdd

Repository files navigation

ts-tdd

Basic boilerplate for TDD in TypeScript.

Installation

To install, clone the repository and use npm install or npm ci.

The TypeScript settings assume you're using Node >=12.9.

Use

  • npm test: run the tests, any *.spec.ts files in the src/ directory
  • npm run build: transpile to JavaScript, emitting to lib/