Skip to content

Update Users Service to use Typescript #24

Update Users Service to use Typescript

Update Users Service to use Typescript #24

Triggered via pull request March 28, 2024 13:13
@MusilahMusilah
synchronize #7
Musilah:usersTS
Status Failure
Total duration 28s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Testing: src/users.ts#L113
Unnecessary try/catch wrapper
Testing: src/users.ts#L121
Expected an error object to be thrown
Testing: src/users.ts#L121
Unsafe argument of type `any` assigned to a parameter of type `string`
Testing: src/users.ts#L152
Unnecessary try/catch wrapper
Testing: src/users.ts#L163
Expected an error object to be thrown
Testing: src/users.ts#L163
Unsafe argument of type `any` assigned to a parameter of type `string`
Testing: src/users.ts#L195
Unnecessary try/catch wrapper
Testing: src/users.ts#L206
Expected an error object to be thrown
Testing: src/users.ts#L206
Unsafe argument of type `any` assigned to a parameter of type `string`
Testing: src/users.ts#L239
Unnecessary try/catch wrapper
Testing
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Testing
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/