- First, we need a set up node project. I'm currently running a graphql project of my own. it's a boilerplate project with no controller code. All we need is a project with a running server.
- We need to run tests. code coverage works by calculating the percentage of your source code covered in tests. you can read more about code coverage here.
For this project we will run an index test. A simple check to see that one thing equals another.