Skip to content

Finish writing tests and refine token refresh logic #166

Finish writing tests and refine token refresh logic

Finish writing tests and refine token refresh logic #166

Triggered via push September 19, 2023 22:28
Status Failure
Total duration 2m 57s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 5 warnings
Test
@baseapp-frontend/core#test: command (/home/runner/work/baseapp-frontend/baseapp-frontend/packages/core) yarn run test exited (1)
Test
Process completed with exit code 1.
Build
@baseapp-frontend/core#build: command (/home/runner/work/baseapp-frontend/baseapp-frontend/packages/core) yarn run build exited (1)
Build
File '/home/runner/work/baseapp-frontend/baseapp-frontend/packages/core/src/local-storage-helper.ts' is not a module.
Build
Property 'refresh' does not exist on type 'AxiosResponse<any, any>'.
Build
Process completed with exit code 1.
Lint
File '/home/gadhi/Documents/TSL/baseapp/baseapp-frontend/packages/core/src/local-storage-helper.ts' is not a module.
Lint
Property 'refresh' does not exist on type 'AxiosResponse<any, any>'.
Lint
Parameter 'data' implicitly has an 'any' type.
Lint
Parameter 'ciphertext' implicitly has an 'any' type.
Lint
Parameter 'key' implicitly has an 'any' type.
Lint
Parameter 'value' implicitly has an 'any' type.
Lint
Parameter 'key' implicitly has an 'any' type.
Lint
Parameter 'expiry' implicitly has an 'any' type.
Lint
Parameter 'key' implicitly has an 'any' type.
Lint
Parameter 'value' implicitly has an 'any' type.
Lint: packages/core/src/auth/login.tsx#L46
React Hook useEffect has a missing dependency: 'router'. Either include it or remove the dependency array
Lint: packages/core/src/axios.ts#L43
Unexpected console statement
Lint: packages/core/src/axios.ts#L44
Unexpected console statement
Lint: packages/core/src/axios.ts#L68
Unexpected console statement
Lint: packages/core/src/axios.ts#L79
Unexpected console statement