Skip to content

ready for review

ready for review #193

Triggered via push August 2, 2024 11:53
Status Failure
Total duration 1m 3s
Artifacts

main.yml

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

Annotations

10 errors
main / test / test-js-code: src/api/klass.ts#L73
Property 'id' does not exist on type 'UpdateWithBody<Class, never, "name" | "teacher" | "read_classmates_data" | "receive_requests_until", never>'.
main / test / test-js-code: src/api/school.ts#L41
Property 'id' does not exist on type 'UpdateWithBody<School, never, "name" | "country" | "uk_county", never>'.
main / test / test-js-code: src/api/teacher.ts#L56
Property 'id' does not exist on type 'UpdateWithBody<Teacher, "is_admin", never, never>'.
main / test / test-js-code: src/api/user.ts#L75
Property 'id' does not exist on type '[number, never] & { accept: boolean; }'.
main / test / test-js-code: src/api/user.ts#L95
Property 'id' does not exist on type '[number, never] & { token: string; }'.
main / test / test-js-code: src/api/user.ts#L114
Property 'id' does not exist on type '[number, never] & { current_password?: string | undefined; }'.
main / test / test-js-code: src/pages/resetPassword/PasswordForm.tsx#L51
Type '{ token: string; password: string; }' is not assignable to type 'never'.
main / test / test-js-code: src/pages/teacherDashboard/school/TeacherInvitationTable.tsx#L10
Module '"codeforlife/components"' has no exported member 'TablePagination'.
main / test / test-js-code: src/pages/teacherDashboard/school/TeacherInvitationTable.tsx#L41
Parameter 'schoolTeacherInvitations' implicitly has an 'any' type.
main / test / test-js-code: src/pages/teacherDashboard/school/TeacherInvitationTable.tsx#L52
Binding element 'id' implicitly has an 'any' type.