diff --git a/packages/stryker/src/reporters/ProgressAppendOnlyReporter.ts b/packages/stryker/src/reporters/ProgressAppendOnlyReporter.ts index 24f0897771..eb08302145 100644 --- a/packages/stryker/src/reporters/ProgressAppendOnlyReporter.ts +++ b/packages/stryker/src/reporters/ProgressAppendOnlyReporter.ts @@ -9,8 +9,10 @@ export default class ProgressAppendOnlyReporter extends ProgressKeeper { onAllMutantsMatchedWithTests(matchedMutants: ReadonlyArray): void { super.onAllMutantsMatchedWithTests(matchedMutants); - this.timer = new Timer(); - this.intervalReference = setInterval(() => this.render(), 10000); + if (matchedMutants.length) { + this.timer = new Timer(); + this.intervalReference = setInterval(() => this.render(), 10000); + } } onAllMutantsTested(): void {