Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/textbook/ts-tdd

Basic boilerplate for TDD in TypeScript
https://github.com/textbook/ts-tdd

boilerplate chai mocha mocha-chai sinon tdd tdd-typescript test-driven-development typescript

Last synced: 28 days ago
JSON representation

Basic boilerplate for TDD in TypeScript

Awesome Lists containing this project

README

        

# 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/`