mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
fix: time in ms for skip test (#30078)
Fixes https://github.com/microsoft/playwright/issues/29861
This commit is contained in:
parent
95d649b406
commit
82804cce64
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user