From 82804cce645abd8a419c2273fa9734c299fef612 Mon Sep 17 00:00:00 2001 From: Shriphad Rao Date: Mon, 25 Mar 2024 21:21:09 +0530 Subject: [PATCH] fix: time in ms for skip test (#30078) Fixes https://github.com/microsoft/playwright/issues/29861 --- packages/html-reporter/src/uiUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/html-reporter/src/uiUtils.ts b/packages/html-reporter/src/uiUtils.ts index 34ad57731f..00022b4204 100644 --- a/packages/html-reporter/src/uiUtils.ts +++ b/packages/html-reporter/src/uiUtils.ts @@ -19,7 +19,7 @@ export function msToString(ms: number): string { return '-'; if (ms === 0) - return '0'; + return '0ms'; if (ms < 1000) return ms.toFixed(0) + 'ms';