Skip to content

theryansmee/angular-jest-async-unit-test-tutorial

Repository files navigation

Testing Asynchronous Code with Jest

Description

This project contains the unit tests written in my youtube tutorials on.:

The master branch contains the code to be tested and the with tests branch contains the completed unit tests. The with bonus tests branch has tests for the bonus-round component which includes a mixture of timers and promises.

If you have any questions, leave a comment on the video or message me on Twitter.

Running unit tests

Run npm run test-watch to execute the unit tests in watch mode via Jest.