I currently have all my tests in the root/test folder. Using blanket.js for code coverage works 100%. I want to move some of my tests into sub folders for example root/test/domainTests. However when doing this blanket.js does not find the test to run the coverage on. Is there an option i can set to point blanket.js to my tests? I have had a look around their site but cannot find anything useful.
current code in package.json - pattern points to my app files, not to the test files.
"config": {
"blanket": {
"pattern": "/domain/",
"data-cover-never": "node_modules"
}
I call it from the command line as follows
'mocha -r blanket -R html-cov > coverage.html'