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

@@ -13,7 +13,7 @@ import { useTheme } from 'next-themes';
import TestTypesChart from './TestTypesDonutChart';
import TestPriorityChart from './TestPriorityDonutChart';
import TestProgressBarChart from './TestProgressColumnChart';
import { TestRunCaseStatusMessages } from '@/types/testRunCaseStatus';
import { TestRunCaseStatusMessages } from '@/types/status';
import { TestTypeMessages } from '@/types/testType';
import { PriorityMessages } from '@/types/priority';

View File

@@ -1,6 +1,6 @@
import { ProjectType } from '@/types/project';
import { testTypes, priorities, testRunCaseStatus } from '@/config/selection';
import { TestRunCaseStatusMessages } from '@/types/testRunCaseStatus';
import { TestRunCaseStatusMessages } from '@/types/status';
// aggregate folder, case, run mum
function aggregateBasicInfo(project: ProjectType) {

View File

@@ -2,7 +2,7 @@ import { ProjectHome } from './ProjectHome';
import { useTranslations } from 'next-intl';
import { PriorityMessages } from '@/types/priority';
import { TestTypeMessages } from '@/types/testType';
import { TestRunCaseStatusMessages } from '@/types/testRunCaseStatus';
import { TestRunCaseStatusMessages } from '@/types/status';
export type HomeMessages = {
folders: string;