Skip to content
/ typescript Public template

A simple starter project for TDD in TypeScript

Notifications You must be signed in to change notification settings

tdd-starters/typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript TDD Starter

A sample project for getting started with TDD in TypeScript.

The file ___tests__/capitalize_test.ts contains one test case and a few in comments. Start by coming up with a few test cases and add them to the lists, then implement them one at a time, test-driving the solution forwards.

Uses Yarn for the build system and Jest as the test runner.

First install all dependencies with

yarn install

Then, run the tests with:

yarn test