grunt-mocha-chai-sinon
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "grunt-mocha-chai-sinon", | ||
"description": "MochaJS + ChaiJS + SinonJS Test Runner", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Marco Pegoraro", |
@@ -22,6 +22,13 @@ /** | ||
filterProjectSrc = filterProjectSrc.substr(filterProjectSrc.lastIndexOf('/'), filterProjectSrc.length) + '/src/'; | ||
if (grunt.config.data['mocha-chai-sinon'].coverage) { | ||
require('blanket')({ | ||
pattern: grunt.config.data['mocha-chai-sinon'].coverage.options.filter || filterProjectSrc | ||
}); | ||
} else { | ||
require('blanket')({ | ||
pattern: filterProjectSrc | ||
}); | ||
} | ||
require('blanket')({ | ||
pattern: grunt.config.data['mocha-chai-sinon'].coverage.options.filter || filterProjectSrc | ||
}); | ||
@@ -31,3 +38,2 @@ | ||
/** | ||
@@ -34,0 +40,0 @@ * Grunt Task |
5653
94