fix: time in ms for skip test (#30078)

Fixes https://github.com/microsoft/playwright/issues/29861
This commit is contained in:
Shriphad Rao 2024-03-25 21:21:09 +05:30 committed by GitHub
parent 95d649b406
commit 82804cce64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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';