@estruyf/github-actions-reporter
Version:
GitHub Actions reporter for Playwright
8 lines (7 loc) • 309 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTestDuration = void 0;
const getTestDuration = (result) => {
return (result === null || result === void 0 ? void 0 : result.duration) ? `${result.duration / 1000}s` : "";
};
exports.getTestDuration = getTestDuration;