fix coverage

This commit is contained in:
Philipp Kunz 2016-02-17 06:00:12 +01:00
parent fcdaad540e
commit e8806e548b

View File

@ -4,7 +4,7 @@ module NpmtsTests {
var done = plugins.q.defer(); var done = plugins.q.defer();
var config = configArg; var config = configArg;
var istanbul = function () { var istanbul = function () {
var stream = plugins.gulp.src([plugins.path.join(paths.cwd,"dist/index.js")]) var stream = plugins.gulp.src([plugins.path.join(paths.cwd,"dist/*.js")])
// Covering files // Covering files
.pipe(plugins.g.istanbul()) .pipe(plugins.g.istanbul())
// Force `require` to return covered files // Force `require` to return covered files