ADM-999 [frontend]: fix frontend error when get data error in the metrics page #1606
Codacy Production / Codacy Static Code Analysis
succeeded
Sep 13, 2024 in 0s
Your pull request is up to standards!
Here is an overview of what got changed by this pull request:
Complexity increasing per file
==============================
- frontend/src/hooks/useGetSourceControlConfigurationCrewEffect.tsx 1
- frontend/src/hooks/useGetSourceControlConfigurationBranchEffect.tsx 1
- frontend/src/hooks/useGetSourceControlConfigurationRepoEffect.tsx 1
- frontend/__tests__/client/SourceControlClient.test.ts 1
Complexity decreasing per file
==============================
+ frontend/src/containers/MetricsStep/SouceControlConfiguration/SourceControlMetricSelection/index.tsx -1
Clones added
============
- frontend/__tests__/hooks/useGetSourceControlConfigurationRepoEffect.test.tsx 4
- frontend/__tests__/hooks/useGetSourceControlConfigurationCrewEffect.test.tsx 6
- frontend/__tests__/containers/MetricsStep/SourceControlConfiguration/SourceControlConfiguration.test.tsx 3
Clones removed
==============
+ frontend/__tests__/hooks/useGetSourceControlConfigurationBranchEffect.test.tsx -4
+ frontend/__tests__/containers/MetricsStep/SourceControlConfiguration/SourceControlMetricSelection.test.tsx -1
+ frontend/src/hooks/useGetSourceControlConfigurationCrewEffect.tsx -1
+ frontend/src/hooks/useGetSourceControlConfigurationBranchEffect.tsx -1
+ frontend/__tests__/client/SourceControlClient.test.ts -4
+ frontend/src/clients/sourceControl/SourceControlClient.ts -8
See the complete overview on Codacy
Loading