webdriverio-community / wdio-html-reporter

Fork of wdio-html-format-reporter
MIT License
18 stars 27 forks source link

Complication error for process.emit("test:log", text) when try use it in TypeScript #48

Closed bablyukh closed 3 years ago

bablyukh commented 3 years ago

I have function with content:

public sendLog(text) {
        process.emit("test:log", text);
}

But when try to execute it I have the next error: Argument of type '"test:log"' is not assignable to parameter of type 'Signals'.

bablyukh commented 3 years ago

Resolved by using @rpii/wdio-report-events