refactor: test run status messages duplication

This commit is contained in:
Takeshi Kimata
2024-07-21 15:46:06 +09:00
parent 1da19ed43c
commit 32ee0231b0
11 changed files with 79 additions and 45 deletions

View File

@@ -1,6 +1,6 @@
import { RunStatusType, TestRunCaseStatusType } from '@/types/status';
import { TestTypeType } from '@/types/testType';
import { PriorityType } from '@/types/priority';
import { TestRunCaseStatusType } from '@/types/testRunCaseStatus';
const roles = [{ uid: 'administrator' }, { uid: 'user' }];
@@ -14,7 +14,7 @@ const locales = [
];
// The status of each test run
const testRunStatus = [
const testRunStatus: RunStatusType[] = [
{ uid: 'new' },
{ uid: 'inProgress' },
{ uid: 'underReview' },