This is code I wrote to get a better handle on unit testing with QUnit. I had an epiphany that learning unit testing required learning functional programming first.
To do this, make sure you have the most-recent version of Node/npm globally installed on your machine. From there:
- Clone the repo.
- Do an
npm startin the terminal.
Then go to
http://localhost:3000: you should a blank page with only a link to the test suite. As you update code from the tutorial in the
build folder, you will see changes.