Allow configuration of the test reporter

The reporter for the standard tests is still 'spec'; the one for the
gathering of code coverage is set to 'dot' to not clutter the output
of the logfile on travis.
This commit is contained in:
Marc Jansen
2016-03-08 10:21:17 +01:00
parent 951b400227
commit 8c487d3036
2 changed files with 7 additions and 5 deletions

View File

@@ -164,7 +164,7 @@ var foundAllJavaScriptSourceFiles = function(err, files) {
wrench.copyDirSyncRecursive(instrumentedDir, dir, copyOpts);
log('• run test suite on instrumented code');
runTestsuite(true, collectAndWriteCoverageData);
runTestsuite({coverage: true, reporter: 'dot'}, collectAndWriteCoverageData);
};
/**