You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get coverage for some nodeunit tests I have. I have my tests in a test folder and the code I want to instrument is all in the libs folder.
I am running
nodecover -s ./lib -t ./tests
I am getting the error
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH envi
ronment variable instead.
Any ideas?
The text was updated successfully, but these errors were encountered:
I ended up doing it myself with jscoverage and then using the nodeunit --lcov reporter if that's any help. Here is the repo if it's any help https://github.com/elliotstokes/gpx-parse
I am trying to get coverage for some nodeunit tests I have. I have my tests in a test folder and the code I want to instrument is all in the libs folder.
I am running
nodecover -s ./lib -t ./tests
I am getting the error
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH envi
ronment variable instead.
Any ideas?
The text was updated successfully, but these errors were encountered: