-
Bug
-
Resolution: Done
-
Normal
-
1.3
-
None
-
5
-
False
-
-
False
-
-
-
RHDH Core Team 3263
Acceptance Criteria
- Refactor code that is too long/too complex:
- router.test.ts: most of the tests here can move under specific handler tests (under `src/service/handlers`)
- The remaining tests could cover other cases like the auth layer
- Code duplication in bulkimports.test.ts and router.test.ts reported by SonarCloud
- githubApiService.ts: could reduce complexity of some functions
- Split catalogInfoGenerator into different files. Its name does not reflect what it does.
- router.test.ts: most of the tests here can move under specific handler tests (under `src/service/handlers`)
- Add more tests
- Move generated code (like openapi.d.ts or openapidocument.ts) under a `src/generated` folder
- ...