spacing
This commit is contained in:
parent
1114cf59f1
commit
7a352c1eb3
|
|
@ -20,17 +20,17 @@ import type { ReporterV2 } from '../reporters/reporterV2';
|
||||||
import type * as reporterTypes from '../../types/testReporter';
|
import type * as reporterTypes from '../../types/testReporter';
|
||||||
|
|
||||||
export type TeleSuiteUpdaterProgress = {
|
export type TeleSuiteUpdaterProgress = {
|
||||||
total: number;
|
total: number;
|
||||||
passed: number;
|
passed: number;
|
||||||
failed: number;
|
failed: number;
|
||||||
skipped: number;
|
skipped: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type TeleSuiteUpdaterTestModel = {
|
export type TeleSuiteUpdaterTestModel = {
|
||||||
config: reporterTypes.FullConfig;
|
config: reporterTypes.FullConfig;
|
||||||
rootSuite: reporterTypes.Suite;
|
rootSuite: reporterTypes.Suite;
|
||||||
loadErrors: reporterTypes.TestError[];
|
loadErrors: reporterTypes.TestError[];
|
||||||
progress: TeleSuiteUpdaterProgress;
|
progress: TeleSuiteUpdaterProgress;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type TeleSuiteUpdaterOptions = {
|
export type TeleSuiteUpdaterOptions = {
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue