Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to resolve reporters when running in gulp #2

Open
benedictchen opened this issue Jul 9, 2018 · 0 comments
Open

Not able to resolve reporters when running in gulp #2

benedictchen opened this issue Jul 9, 2018 · 0 comments

Comments

@benedictchen
Copy link

benedictchen commented Jul 9, 2018

None of the reporters are able to be resolved.

return gulp.src(allTestFiles, { read: false })
        .pipe(mocha({
          includeUntested: true,
          nyc: true,
          istanbul: true,
          bin: isparta,
          reporter: [
            'html',
            'lcov',
          ],
          produceSourceMap: true,
          sourceMap: true,
          instrument: true,
          require: [
            'source-map-support/register',
            'babel-core/register',
          ],
        }))
        .on('end', done);

Error:

/node_modules/mocha/lib/mocha.js:193
      throw new Error('invalid reporter "' + reporter + '"');
      ^

Error: invalid reporter "lcov"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant