beringar / js-pro-unit-testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unit Testing Intro

Getting Started

npm i
npm test (runs tests)
npm run test:coverage (collects coverage metrics)

Videos to Watch


Intro to Jest: https://www.loom.com/share/f1cc5c32e96441468c65dae30b9216c6

Testing Async Methods: https://www.loom.com/share/c0f7523e066345fd9fd18a81a83f8a68

Testing Callbacks and Using Mocks: https://www.loom.com/share/5361b39e8da14cc9a98feeb4f1419aa8

TODO


Run npm run test:coverage - you will see that 100% test coverage is not met! Add tests to get this app to 100% coverage.

About


Languages

Language:JavaScript 100.0%