ui/client/features/tests/domain/RunOutcomes
Pure (DOMAIN-001): the words a test outcome is drawn with.
Cockpit client (features), next. Source: ui/client/features/tests/domain/RunOutcomes.ts.
Functions#
formatMs()#
formatMs(
ms):string
Defined in: ui/client/features/tests/domain/RunOutcomes.ts:13
"412 ms", "5.5 s", "1 min 12 s".
Parameters#
ms
number
Returns#
string
outcomeFor()#
outcomeFor(
snap,area,file):RunOutcome|null
Defined in: ui/client/features/tests/domain/RunOutcomes.ts:21
The latest outcome of one test file (a generated test, or one of yours), or null when it has not run.
Parameters#
snap
RunSnapshot | null
area
file
string
Returns#
RunOutcome | null
outcomeView()#
outcomeView(
status):OutcomeView
Defined in: ui/client/features/tests/domain/RunOutcomes.ts:10