Skip to content

merge from dev

merge from dev #196

Triggered via push August 2, 2024 15:05
Status Failure
Total duration 1m 18s
Artifacts

main.yml

on: push
main  /  ...  /  validate-pr-refs
0s
main / validate-pr-refs / validate-pr-refs
main  /  ...  /  test-js-code
1m 6s
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/TeacherDashboard.tsx#L6
Module '"codeforlife/utils/router"' has no exported member 'getParam'.
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.