refactor: test run case status messages duplication

This commit is contained in:
Takeshi Kimata
2024-07-21 15:16:40 +09:00
parent 1751dd69a2
commit f797ae2581
11 changed files with 92 additions and 76 deletions

View 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 };