I am using Chutzpah for measuring JavaScript code coverage, but it is including js unit tests also in the report.
Is there anyway to exclude folders?
I've tried the below json setting, but it works if provided filename, but not working for folder.
{
"CodeCoverageExcludes": ["*knockout-2.1.0.js", "*jquery-1.8.2.js","*\\Tests\\Cms.UnitTests\*"]
}
You did not escape the last backlash. It should be:
{
"CodeCoverageExcludes": ["*knockout-2.1.0.js", "*jquery-1.8.2.js","*\\Tests\\Cms.UnitTests\\*"]
}