diff --git a/src/core/done.js b/src/core/done.js index d64a2f29..3cf40b77 100644 --- a/src/core/done.js +++ b/src/core/done.js @@ -24,7 +24,7 @@ var done = function() { var msg = '' var groupedByFile = {} var msgGrouped - var group = this.config.groupOutputByFile || true + var group = ('groupOutputByFile' in this.config) ? this.config.groupOutputByFile : true var opts = this.config.reporterOptions || {} this.state.exitCode = getExitCode( this.cache.errs.length, this.cache.warnings.length, this.config.maxErrors, this.config.maxWarnings )