( build: TypesGen.WorkspaceBuild, inProgressLabel = "In progress", )
| 85 | }; |
| 86 | |
| 87 | export const displayWorkspaceBuildDuration = ( |
| 88 | build: TypesGen.WorkspaceBuild, |
| 89 | inProgressLabel = "In progress", |
| 90 | ): string => { |
| 91 | const duration = getWorkspaceBuildDurationInSeconds(build); |
| 92 | return duration ? `${duration} seconds` : inProgressLabel; |
| 93 | }; |
| 94 | |
| 95 | export enum agentVersionStatus { |
| 96 | Updated = 1, |
no test coverage detected