This lesson will utilize the Istanbul tool to instrument our code for code coverage recording and reporting. We'll use this to make sure that as our library gets new features, we keep track of our coverage and can find places to improve it.
It was not as straightforward on windows as it should have been. Ran into a couple of issues. So I switched to mocha. Thanks for nyc. I will check it out. In the case that you have split all of your tests up into different directories could you reference it like so... istanbul cover -x.test.js _mocha -- -R spec tests ? Tests is my outermost directory.