Skip to content

Commit

Permalink
Fix issue where coverage was not working.
Browse files Browse the repository at this point in the history
Resolves #238
  • Loading branch information
jamesplease committed Oct 10, 2015
1 parent 14578f3 commit 81dc0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import loadPlugins from 'gulp-load-plugins';
import del from 'del';
import glob from 'glob';
import path from 'path';
import isparta from 'isparta';
import webpack from 'webpack';
import webpackStream from 'webpack-stream';
import source from 'vinyl-source-stream';
import { Instrumenter } from 'isparta';

import manifest from './package.json';

Expand Down Expand Up @@ -106,7 +106,7 @@ function test() {
function coverage(done) {
_registerBabel();
gulp.src(['src/**/*.js'])
.pipe($.istanbul({ instrumenter: isparta.Instrumenter }))
.pipe($.istanbul({ instrumenter: Instrumenter }))
.pipe($.istanbul.hookRequire())
.on('finish', () => {
return test()
Expand Down

0 comments on commit 81dc0ca

Please sign in to comment.