diff --git a/.travis.yml b/.travis.yml index 8c65e0a..a0ed39c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ notifications: node_js: - '4' before_install: - - npm i -g npm@^2.0.0 - npm run install-nightwatch-cucumber-with-link before_script: - npm prune diff --git a/test/test-case-factory.js b/test/test-case-factory.js index 7844907..3c219fb 100644 --- a/test/test-case-factory.js +++ b/test/test-case-factory.js @@ -175,7 +175,16 @@ class TestCaseFactory { return new Promise((resolve, reject) => { const origArgs = args.slice() - args.unshift('cover', nightwatchPath, '--config', istanbulConfig, '--root', istanbulRoot, '--dir', istanbulDir, '--') + args.unshift( + 'cover', + nightwatchPath, + '--config', istanbulConfig, + '--root', istanbulRoot, + '--dir', istanbulDir, + '--report', 'json', + '--print', 'none', + '--' + ) console.log('Executing > ', nightwatchPath, origArgs.join(' ')) const nightwatch = fork(istanbulPath, args, { stdio: 'inherit',