Skip to content

fix(auth): Support 2FA via browser window auth #1070

fix(auth): Support 2FA via browser window auth

fix(auth): Support 2FA via browser window auth #1070

Triggered via pull request November 22, 2023 02:25
Status Failure
Total duration 34s
Artifacts

run-tests.yml

on: pull_request
run-unit-tests
25s
run-unit-tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors
run-unit-tests: src/context/App.tsx#L18
Module '"../utils/auth"' declares 'getToken' locally, but it is not exported.
run-unit-tests: src/utils/auth.test.ts#L73
Property 'getToken' does not exist on type 'typeof import("/home/runner/work/gitify/gitify/src/utils/auth")'.
run-unit-tests: src/utils/auth.test.ts#L97
Property 'getToken' does not exist on type 'typeof import("/home/runner/work/gitify/gitify/src/utils/auth")'.
run-unit-tests: src/utils/auth.ts#L10
A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.
run-unit-tests: src/utils/auth.ts#L26
'token' is declared but its value is never read.
run-unit-tests: src/utils/auth.ts#L26
'await' expressions are only allowed within async functions and at the top levels of modules.
run-unit-tests
Process completed with exit code 2.