Skip to content

Test Driven Development Example in TypeScript using Jest.

License

Notifications You must be signed in to change notification settings

nunogois/typescript-jest-tdd

Repository files navigation

typescript-jest-tdd

Test Driven Development Example in TypeScript using Jest.

Getting Started

  1. Fork or clone this repository by running git clone https://github.com/nunogois/typescript-jest-tdd.git in a folder of your choice;
  2. Run npm install or yarn on the created project folder to install pre-requisites;
  3. Run our tests: npm test or yarn test and check the results - it should also create a coverage folder with a report index.html that you can open in your browser;

Disclaimer

I'm still getting used to TypeScript, Jest and TDD in general. If you spot any errors or possible improvements, please let me know!

Using