Skip to content

Commit

Permalink
Merge pull request #480 from brannislav/master
Browse files Browse the repository at this point in the history
  • Loading branch information
kopach authored Dec 7, 2021
2 parents dca2f31 + 3ea5cee commit 4cbd7c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ export const sabarivkaReporter: KarmaReporter = Object.defineProperty(
karmaConfig: KarmaOptions,
logger: Logger
): void {
this.adapters = [];
if (!isKarmaConfigAppropriate(karmaConfig, logger)) {
return;
}

this.onBrowserComplete = getFileInstrumenterFn(karmaConfig);
this.adapters = [];
},
'$inject',
{
Expand Down

0 comments on commit 4cbd7c7

Please sign in to comment.