UNPKG

e2ed

Version:

E2E testing framework over Playwright

8 lines (7 loc) 356 B
/** * Get the duration of time interval in hours, minutes, seconds and milliseconds. * `getDurationWithUnits(1213)` = `'1s 213ms'`. * Should be a pure function without dependencies in the form of a function declaration, * because it is used in the JS code of HTML report. */ export declare function getDurationWithUnits(durationInMs: number): string;