Skip to content

otp bypass token form #67

otp bypass token form

otp bypass token form #67

Triggered via push June 13, 2024 14:02
Status Failure
Total duration 1m 7s
Artifacts

main.yml

on: push
main  /  ...  /  validate-pr-refs
0s
main / validate-pr-refs / validate-pr-refs
main  /  ...  /  test-js-code
55s
main / test / test-js-code
Fit to window
Zoom out
Zoom in

Annotations

10 errors
main / test / test-js-code: src/pages/login/Login.tsx#L39
Property 'Password' does not exist on type 'typeof import("/home/runner/work/codeforlife-portal-frontend/codeforlife-portal-frontend/src/pages/login/teacherForms/index")'.
main / test / test-js-code: src/pages/login/teacherForms/Email.tsx#L35
Type '{ helperText: string; }' is not assignable to type 'IntrinsicAttributes & Omit<TextFieldProps, "name" | "type" | "schema"> & Partial<Pick<TextFieldProps, "name">>'.
main / test / test-js-code: src/pages/login/teacherForms/Email.tsx#L36
Type '{ helperText: string; }' is not assignable to type 'IntrinsicAttributes & Omit<TextFieldProps, "name" | "type" | "schema"> & Partial<Pick<TextFieldProps, "name" | "schema">>'.
main / test / test-js-code: src/pages/login/teacherForms/Otp.tsx#L6
Module '"codeforlife/hooks"' has no exported member 'useSessionRequired'.
main / test / test-js-code: src/pages/login/teacherForms/Otp.tsx#L21
Binding element 'otp_bypass_token_exists' implicitly has an 'any' type.
main / test / test-js-code: src/pages/login/teacherForms/Otp.tsx#L26
Type 'string' is not assignable to type 'number'.
main / test / test-js-code: src/pages/login/teacherForms/Otp.tsx#L33
Property 'OtpField' does not exist on type 'typeof import("/home/runner/work/codeforlife-portal-frontend/codeforlife-portal-frontend/node_modules/codeforlife/src/components/form/index")'.
main / test / test-js-code: src/pages/login/teacherForms/OtpBypassToken.tsx#L7
Module '"codeforlife/hooks"' has no exported member 'useSessionRequired'.
main / test / test-js-code: src/pages/login/teacherForms/OtpBypassToken.tsx#L41
Type '{ name: string; helperText: string; schema: StringSchema<string | undefined, AnyObject, undefined, "">; required: true; }' is not assignable to type 'IntrinsicAttributes & Omit<TextFieldProps, "defaultValue" | "id" | "onBlur" | "onChange" | "value" | "name" | "error" | "helperText"> & { ...; }'.
main / test / test-js-code: src/utils/test-utils.tsx#L7
Module '"../app/store"' has no exported member 'makeStore'. Did you mean to use 'import makeStore from "../app/store"' instead?