CRAP | Complexity | Coverage | Location |
---|---|---|---|
2.00 | 1 | 0/4 (0.00%) | test-reporter/reporter.ts (L37 - L46) |
public constructor(
private readonly globalConfig: Config.GlobalConfig,
reporterOptions: ReporterOptions,
private readonly reporterContext: ReporterContext,
) {
this.jsonReportFile = this.getJsonReportFile(reporterOptions.jsonReportFile);
this.htmlReportDir = this.getHtmlReportDir(reporterOptions.htmlReportDir);
this.logger = new CrapReporterLogger(this.getLogLevels(reporterOptions.log));
}