Skip to content

Commit

Permalink
fix: Исправлено отображение времени прогона тестов
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitive authored and qtm committed Jan 28, 2022
1 parent 272fb93 commit 8489127
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/tools/upload-allure-report.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ function formatDuration(ms) {
const seconds = totalSeconds - totalMinutes * 60

return [
hours && pluralize('hour', hours),
minutes && pluralize('minute', minutes),
seconds && pluralize('second', seconds),
hours && pluralize('hour', hours, true),
minutes && pluralize('minute', minutes, true),
seconds && pluralize('second', seconds, true),
]
.filter(Boolean)
.join(' ')
Expand Down

0 comments on commit 8489127

Please sign in to comment.