feat(DTFS2-7733): post cancel amendment #4199
44 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 44
Complexity increasing per file
==============================
- gef-ui/api-tests/amendments/cancel-portal-facility-amendment.get.api-test.ts 1
- gef-ui/api-tests/amendments/cancel-portal-facility-amendment.post.api-test.ts 1
- gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts 1
- gef-ui/server/controllers/amendments/cancel-amendment/get-cancel-portal-facility-amendment.test.ts 1
- gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.ts 2
Clones added
============
- gef-ui/api-tests/amendments/cancel-portal-facility-amendment.get.api-test.ts 5
- gef-ui/api-tests/amendments/cancel-portal-facility-amendment.post.api-test.ts 11
- gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts 2
- gef-ui/server/controllers/amendments/cancel-amendment/get-cancel-portal-facility-amendment.test.ts 4
See the complete overview on Codacy
Annotations
codacy-production / Codacy Static Code Analysis
gef-ui/api-tests/amendments/cancel-portal-facility-amendment.post.api-test.ts#L4
Unable to resolve path to module '@ukef/dtfs2-common'.
codacy-production / Codacy Static Code Analysis
gef-ui/api-tests/amendments/cancel-portal-facility-amendment.post.api-test.ts#L36
Unsafe member access .MAKER on an `error` typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/api-tests/amendments/cancel-portal-facility-amendment.post.api-test.ts#L92
Unsafe assignment of an error typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/api-tests/amendments/cancel-portal-facility-amendment.post.api-test.ts#L93
Unsafe member access .status on an `error` typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/api-tests/amendments/cancel-portal-facility-amendment.post.api-test.ts#L95
Unsafe member access .body on an `error` typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/api-tests/amendments/cancel-portal-facility-amendment.post.api-test.ts#L97
Unsafe assignment of an error typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/api-tests/amendments/cancel-portal-facility-amendment.post.api-test.ts#L97
Unsafe member access .INVALID_MONGO_ID_PATH_PARAMETER on an `error` typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/api-tests/amendments/cancel-portal-facility-amendment.post.api-test.ts#L142
Unsafe member access .headers on an `error` typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/api-tests/amendments/cancel-portal-facility-amendment.post.api-test.ts#L154
Unsafe member access .status on an `error` typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts#L5
Unable to resolve path to module '@ukef/dtfs2-common'.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts#L6
Unable to resolve path to module '@ukef/dtfs2-common'.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts#L19
Unsafe assignment of an error typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts#L19
Unsafe call of an `error` type typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts#L23
Unsafe call of an `error` type typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts#L23
Unsafe return of an error typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts#L30
Unsafe assignment of an error typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts#L32
Unsafe assignment of an error typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts#L48
Unsafe assignment of an error typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts#L51
Unsafe argument of type `any` assigned to a parameter of type `Response<any, Record<string, any>>`.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.test.ts#L81
Unsafe call of an `error` type typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.ts#L18
Unsafe member access .params on an `error` typed value.
codacy-production / Codacy Static Code Analysis
gef-ui/server/controllers/amendments/cancel-amendment/post-cancel-portal-facility-amendment.ts#L19
Unsafe member access .session on an `error` typed value.
Check failure on line 78 in gef-ui/server/routes/facilities/amendments/index.ts
codacy-production / Codacy Static Code Analysis
gef-ui/server/routes/facilities/amendments/index.ts#L78
Unsafe call of an `error` type typed value.
Check failure on line 79 in gef-ui/server/routes/facilities/amendments/index.ts
codacy-production / Codacy Static Code Analysis
gef-ui/server/routes/facilities/amendments/index.ts#L79
Unsafe call of an `error` type typed value.
Check failure on line 80 in gef-ui/server/routes/facilities/amendments/index.ts
codacy-production / Codacy Static Code Analysis
gef-ui/server/routes/facilities/amendments/index.ts#L80
Unsafe call of an `error` type typed value.