We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b8cbe4 commit a8b9788Copy full SHA for a8b9788
hermione.ts
@@ -20,12 +20,16 @@ import {ImagesInfoSaver} from './lib/images-info-saver';
20
import {getStatus} from './lib/test-adapter/hermione';
21
22
export = (hermione: Hermione, opts: Partial<ReporterOptions>): void => {
23
- if (hermione.isWorker() || !opts.enabled) {
+ if (hermione.isWorker()) {
24
return;
25
}
26
27
const config = parseConfig(opts);
28
29
+ if (!config.enabled) {
30
+ return;
31
+ }
32
+
33
const htmlReporter = HtmlReporter.create(config, {toolName: ToolName.Hermione});
34
35
(hermione as Hermione & HtmlReporterApi).htmlReporter = htmlReporter;
0 commit comments