Closed dogivalfer closed 2 years ago
DEV deployments have completed successfully! Frontend: [https://nrfesampleapp-21-app.apps.silver.devops.gov.bc.ca/]()
@mgaseta Added the test case, I'd forgotten this one the first time :sweat:. Also made changes to allow direct import fixtures JSON files.
SonarCloud Quality Gate failed.
46.70% |
---|
File | Stmts | Branches | Funcs | Lines | Uncovered Lines |
---|---|---|---|---|---|
src | |||||
App.tsx | 100% | 100% | 100% | 100% | |
src/components/Card | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/components/CardLoader | |||||
index.tsx | 60% | 100% | 0% | 75% | 6 |
src/components/Footer | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/components/FooterBox | |||||
index.ts | 100% | 100% | 100% | 100% | |
src/components/FooterLink | |||||
index.ts | 100% | 100% | 100% | 100% | |
src/components/Header | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/components/HeaderBanner | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/components/HeaderBox | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/components/HeaderImage | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/components/HeaderTitle | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/components/Label | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/components/LoaderBox | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/components/TextInput | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/components/UserTable | |||||
index.tsx | 33.33% | 100% | 0% | 50% | 12, 24, 29 |
src/layout/PublicLayout | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/service | |||||
FetchApi.ts | 4% | 0% | 0% | 7.14% | 10, 18–20, 20, 20, 20–21, 24, 41–42, 44, 44–45, 47, 50, 53, 9, 9 |
GetExceptionResponse.ts | 14.29% | 0% | 0% | 20% | 4, 4–6, 9 |
src/views/Form | |||||
index.tsx | 10% | 0% | 0% | 13.33% | 100, 104–105, 107, 107, 107–109, 111–112, 116–117, 119, 119, 119–121, 123–124, 128–129, 131, 131, 131, 131, 131–133, 133, 133–135, 135–136, 139–140, 142, 142–143, 147–148, 148–149, 153–155, 158–160, 163–164, 167, 176, 176, 183, 183, 20, 22–24, 26–28, 30–31, 33–34, 36–39, 41–43, 45–46, 49–53, 55, 55–57, 57, 57–60, 60–62, 68–72, 74, 78–79, 84–88, 90, 94–98 |
src/views/Home | |||||
index.tsx | 100% | 100% | 100% | 100% | |
src/views/Table | |||||
index.tsx | 60% | 100% | 0% | 75% | 6 |
Your Pull Request code is being promoted! Please follow the link below. Main Merge Workflow
Description
All the existing tests were fixed to work with the carbon design update and more test cases were added including some negative cases.
Fixes # 192
Type of change
How Has This Been Tested?
Tested locally with the environment URL pointing to the PR link.
Checklist
Further comments