This commit is contained in:
Simon Knott 2024-08-22 17:28:53 +02:00
parent 1114cf59f1
commit 7a352c1eb3
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -131,11 +131,11 @@ export class TeleSuiteUpdater {
return false; return false;
}, },
onStdOut: () => {}, onStdOut: () => { },
onStdErr: () => {}, onStdErr: () => { },
onExit: () => {}, onExit: () => { },
onStepBegin: () => {}, onStepBegin: () => { },
onStepEnd: () => {}, onStepEnd: () => { },
}; };
} }
@ -163,8 +163,8 @@ export class TeleSuiteUpdater {
processTestReportEvent(message: any) { processTestReportEvent(message: any) {
// The order of receiver dispatches matters here, we want to assign `lastRunTestCount` // The order of receiver dispatches matters here, we want to assign `lastRunTestCount`
// before we use it. // before we use it.
this._lastRunReceiver?.dispatch(message)?.catch(() => {}); this._lastRunReceiver?.dispatch(message)?.catch(() => { });
this._receiver.dispatch(message)?.catch(() => {}); this._receiver.dispatch(message)?.catch(() => { });
} }
private _handleOnError(error: reporterTypes.TestError) { private _handleOnError(error: reporterTypes.TestError) {