This is an example repo for my newsletter to show the progression of JavaScript tests to give you an idea of what a test really is and how frameworks fit into the mix.
This doesn't not show you the normal setup for a project! I do a few weird config things to make it work well for this project.
Here's how you run the tests:
node 1
node 2
node 3
node 4
npm run test
You can also run all the tests with npm run test:all