Browse files

include all files in coverage in src folder only

  • Loading branch information...
Novaal committed Aug 15, 2018
1 parent 1046a38 commit fb36c263e74b184d6f20517c28f7370f7127f657
Showing with 1 addition and 1 deletion.
  1. +1 −1 gulpfile.js
@@ -46,7 +46,7 @@ gulp.task("clean", function() {
/** Runs all tests. We dont need to emit sourcemaps here since jasmine-ts handles this for us. */
gulp.task("test", ["build-sources"], shell.task('jasmine-ts "**/*.spec.ts"'));
gulp.task("test-coverage", ["build-sources"], shell.task('nyc --exclude "spec" -e .ts -x "*.spec.ts" jasmine-ts "**/*.spec.ts"'));
gulp.task("test-coverage", ["build-sources"], shell.task('nyc --include "src" --all -e .ts -x "*.spec.ts" jasmine-ts "**/*.spec.ts"'));
/** Watches file changes in source or spec files and executes specs automatically */
gulp.task("specs-watcher", ["build-sources"], function() {

0 comments on commit fb36c26

Please sign in to comment.