Skip to content

Portal frontend 23 #201

Portal frontend 23

Portal frontend 23 #201

Triggered via pull request August 6, 2024 14:17
Status Failure
Total duration 1m 9s
Artifacts

main.yml

on: pull_request
main  /  ...  /  validate-pr-refs
0s
main / validate-pr-refs / validate-pr-refs
main  /  ...  /  test-js-code
57s
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/classes/JoinClassRequest.tsx#L14
Module '"codeforlife/components"' has no exported member 'TablePagination'.
main / test / test-js-code: src/pages/teacherDashboard/classes/JoinClassRequest.tsx#L99
Parameter 'studentUsers' implicitly has an 'any' type.