Is there a way to use JSCoverage to have code coverage for nodeunit?
I know there is nodeunit2
, but my code is not in lib, and I do not want to restructure my project.
Is there a way to use JSCoverage to have code coverage for nodeunit?
I know there is nodeunit2
, but my code is not in lib, and I do not want to restructure my project.
Copyright © 2021 Jogjafile Inc.
Sure... Just follow the steps in this example.
The key elements being:
jscoverage
command on the directory (or directories) that house your code