This repo consists of me learning the basics of testing JavaScript, NodeJS, and various npm packages.
Concepts learned:
- Implementing a simple function to test using test driven development
- Separating global scope variables
- Preventing tests from ending abruptly
- Adding a description for each test
- The assert module
- Using Mocha
- Running Mocha in the browser
- Writing assertions with Chai
- Faking DOM events
- Holding up assertions
- Asserting asynchronous operations
The Udemy course used throughout this repo