Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/textbook/ts-tdd
- Owner: textbook
- License: isc
- Created: 2021-10-14T15:57:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-06T23:10:40.000Z (about 3 years ago)
- Last Synced: 2024-11-10T20:41:55.299Z (3 months ago)
- Topics: boilerplate, chai, mocha, mocha-chai, sinon, tdd, tdd-typescript, test-driven-development, typescript
- Language: TypeScript
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/`