From 7a352c1eb36cd8186fb15f9dd5f35915607f14cf Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Thu, 22 Aug 2024 17:28:53 +0200 Subject: [PATCH] spacing --- .../src/isomorphic/teleSuiteUpdater.ts | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/playwright/src/isomorphic/teleSuiteUpdater.ts b/packages/playwright/src/isomorphic/teleSuiteUpdater.ts index 045dfd704d..ef1c2dbb3e 100644 --- a/packages/playwright/src/isomorphic/teleSuiteUpdater.ts +++ b/packages/playwright/src/isomorphic/teleSuiteUpdater.ts @@ -20,17 +20,17 @@ import type { ReporterV2 } from '../reporters/reporterV2'; import type * as reporterTypes from '../../types/testReporter'; export type TeleSuiteUpdaterProgress = { - total: number; - passed: number; - failed: number; - skipped: number; + total: number; + passed: number; + failed: number; + skipped: number; }; export type TeleSuiteUpdaterTestModel = { - config: reporterTypes.FullConfig; - rootSuite: reporterTypes.Suite; - loadErrors: reporterTypes.TestError[]; - progress: TeleSuiteUpdaterProgress; + config: reporterTypes.FullConfig; + rootSuite: reporterTypes.Suite; + loadErrors: reporterTypes.TestError[]; + progress: TeleSuiteUpdaterProgress; }; export type TeleSuiteUpdaterOptions = { @@ -131,11 +131,11 @@ export class TeleSuiteUpdater { return false; }, - onStdOut: () => {}, - onStdErr: () => {}, - onExit: () => {}, - onStepBegin: () => {}, - onStepEnd: () => {}, + onStdOut: () => { }, + onStdErr: () => { }, + onExit: () => { }, + onStepBegin: () => { }, + onStepEnd: () => { }, }; } @@ -163,8 +163,8 @@ export class TeleSuiteUpdater { processTestReportEvent(message: any) { // The order of receiver dispatches matters here, we want to assign `lastRunTestCount` // before we use it. - this._lastRunReceiver?.dispatch(message)?.catch(() => {}); - this._receiver.dispatch(message)?.catch(() => {}); + this._lastRunReceiver?.dispatch(message)?.catch(() => { }); + this._receiver.dispatch(message)?.catch(() => { }); } private _handleOnError(error: reporterTypes.TestError) {