Skip to content

chore: backport form/validation changes to electrification #5968

chore: backport form/validation changes to electrification

chore: backport form/validation changes to electrification #5968

Triggered via push April 8, 2026 00:43
Status Failure
Total duration 52s
Artifacts

unit-tests.yaml

on: push
Preflight Check
13s
Preflight Check
Matrix: Unit Tests (App)
Matrix: Unit Tests (Frontend)
Publish App Coverage to SonarCloud
0s
Publish App Coverage to SonarCloud
Publish Frontend Coverage to SonarCloud
Publish Frontend Coverage to SonarCloud
Fit to window
Zoom out
Zoom in

Annotations

42 errors
Unit Tests (App) (20.x)
Object literal may only specify known properties, but 'astUpdated' does not exist in type 'GeneralProject'. Did you mean to write 'aaiUpdated'?
Unit Tests (App) (20.x)
Argument of type 'Request<never, never, HousingProject, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'Request<{ housingProjectId: string; }, never, Omit<housing_projectUpdateInput, "housingProjectId">, ParsedQs, Record<string, any>>'.
Unit Tests (App) (20.x)
Argument of type 'Request<never, never, GeneralProject, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'Request<{ generalProjectId: string; }, never, Omit<general_projectUpdateInput, "generalProjectId">, ParsedQs, Record<string, any>>'.
Unit Tests (App) (20.x)
Argument of type 'Request<never, never, { project: ElectrificationProject; contacts: Contact[]; }, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'Request<{ electrificationProjectId: string; }, never, Omit<electrification_projectUpdateInput, "electrificationProjectId">, ParsedQs, Record<...>>'.
Unit Tests (App) (20.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (App) (20.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (App) (20.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (App) (20.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (App) (20.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (App) (20.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (App) (22.x)
The strategy configuration was canceled because "test-app._20_x" failed
Unit Tests (App) (22.x)
Object literal may only specify known properties, but 'astUpdated' does not exist in type 'GeneralProject'. Did you mean to write 'aaiUpdated'?
Unit Tests (App) (22.x)
Argument of type 'Request<never, never, HousingProject, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'Request<{ housingProjectId: string; }, never, Omit<housing_projectUpdateInput, "housingProjectId">, ParsedQs, Record<string, any>>'.
Unit Tests (App) (22.x)
Argument of type 'Request<never, never, GeneralProject, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'Request<{ generalProjectId: string; }, never, Omit<general_projectUpdateInput, "generalProjectId">, ParsedQs, Record<string, any>>'.
Unit Tests (App) (22.x)
Argument of type 'Request<never, never, { project: ElectrificationProject; contacts: Contact[]; }, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'Request<{ electrificationProjectId: string; }, never, Omit<electrification_projectUpdateInput, "electrificationProjectId">, ParsedQs, Record<...>>'.
Unit Tests (App) (22.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (App) (22.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (App) (22.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (App) (22.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (App) (22.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (App) (22.x)
Property 'projectId' does not exist on type 'Project'.
Unit Tests (Frontend) (20.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (20.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (20.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (20.x)
Type 'number | null | undefined' is not assignable to type 'number | undefined'.
Unit Tests (Frontend) (20.x)
Type 'number | null | undefined' is not assignable to type 'number | undefined'.
Unit Tests (Frontend) (20.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (20.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (20.x)
Type '(label: string) => NumberSchema<number | null | undefined, AnyObject, undefined, "">' is not assignable to type 'ISchema<any, any, any, any> | Reference<unknown>'.
Unit Tests (Frontend) (20.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (20.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (22.x)
The strategy configuration was canceled because "test-frontend._20_x" failed
Unit Tests (Frontend) (22.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (22.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (22.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (22.x)
Type 'number | null | undefined' is not assignable to type 'number | undefined'.
Unit Tests (Frontend) (22.x)
Type 'number | null | undefined' is not assignable to type 'number | undefined'.
Unit Tests (Frontend) (22.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (22.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (22.x)
Type '(label: string) => NumberSchema<number | null | undefined, AnyObject, undefined, "">' is not assignable to type 'ISchema<any, any, any, any> | Reference<unknown>'.
Unit Tests (Frontend) (22.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.
Unit Tests (Frontend) (22.x)
Type 'string | null | undefined' is not assignable to type 'string | undefined'.