refactor: test run case status messages duplication
This commit is contained in:
17
frontend/types/testStatus.ts
Normal file
17
frontend/types/testStatus.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
type TestStatusUidType = 'untested' | 'passed' | 'failed' | 'retest' | 'skipped';
|
||||
|
||||
type TestStatusType = {
|
||||
uid: TestStatusUidType;
|
||||
color: string;
|
||||
chartColor: string;
|
||||
};
|
||||
|
||||
type TestStatusMessages = {
|
||||
untested: string;
|
||||
passed: string;
|
||||
failed: string;
|
||||
retest: string;
|
||||
skipped: string;
|
||||
};
|
||||
|
||||
export type { TestStatusUidType, TestStatusType, TestStatusMessages };
|
||||
Reference in New Issue
Block a user