Skip to content

otp form

otp form #66

Triggered via push June 13, 2024 13:54
Status Failure
Total duration 1m 6s
Artifacts

main.yml

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

Annotations

9 errors
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/index.tsx#L3
Cannot find module './Password' or its corresponding type declarations.
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?
main / test / test-js-code
Process completed with exit code 2.