Add storybook testing setup for client #16573
lint-and-test.yml
on: pull_request
Prepare client tests
2m 35s
Setup tests
7s
Lint unused exports with Knip
5m 14s
Matrix: Test client
Matrix: Test
Annotations
12 errors
Run visual tests
non-zero exit code
|
Lint client
Argument of type '{ languages: ({ lang: string; displayName: string; messages: { "form.section.child.name": string; "form.section.child.title": string; "buttons.editRecord": string; "buttons.apply": string; "buttons.approve": string; ... 1151 more ...; "certificate.receipt.service.5year.amount"?: undefined; }; } | { ...; })[]; ... 8 ...' is not assignable to parameter of type 'IOfflineData'.
|
Lint client
Argument of type '{ facilities: Record<string, Facility>; offices: Record<string, CRVSOffice>; locations: Record<string, AdminStructure>; forms: { birth: { sections: ({ id: string; viewType: string; name: { ...; }; groups: never[]; mapping: { ...; }; title?: undefined; } | ... 5 more ... | { ...; })[]; }; death: { ...; }; marriage: {...' is not assignable to parameter of type 'IOfflineData'.
|
Lint client
Argument of type '{ forms: { birth: { sections: ({ id: string; viewType: string; name: { defaultMessage: string; description: string; id: string; }; groups: never[]; mapping: { template: ({ fieldName: string; operation: string; parameters?: undefined; } | { ...; })[]; mutation: { ...; }; query: { ...; }; }; title?: undefined; } | ......' is not assignable to parameter of type 'IOfflineData'.
|
Lint client
Argument of type '{ forms: { birth: { sections: ({ id: string; viewType: string; name: { defaultMessage: string; description: string; id: string; }; groups: never[]; mapping: { template: ({ fieldName: string; operation: string; parameters?: undefined; } | { ...; })[]; mutation: { ...; }; query: { ...; }; }; title?: undefined; } | ......' is not assignable to parameter of type 'IOfflineData'.
|
Lint client
Argument of type '{ forms: { birth: { sections: ({ id: string; viewType: string; name: { defaultMessage: string; description: string; id: string; }; groups: never[]; mapping: { template: ({ fieldName: string; operation: string; parameters?: undefined; } | { ...; })[]; mutation: { ...; }; query: { ...; }; }; title?: undefined; } | ......' is not assignable to parameter of type 'IOfflineData'.
|
Lint client
Argument of type '{ forms: { birth: { sections: ({ id: string; viewType: string; name: { defaultMessage: string; description: string; id: string; }; groups: never[]; mapping: { template: ({ fieldName: string; operation: string; parameters?: undefined; } | { ...; })[]; mutation: { ...; }; query: { ...; }; }; title?: undefined; } | ......' is not assignable to parameter of type 'IOfflineData'.
|
Lint client
Property 'userForm' does not exist on type '{ birth: { sections: ({ id: string; viewType: string; name: { defaultMessage: string; description: string; id: string; }; groups: never[]; mapping: { template: ({ fieldName: string; operation: string; parameters?: undefined; } | { ...; })[]; mutation: { ...; }; query: { ...; }; }; title?: undefined; } | ... 5 more ....'.
|
Lint client
Type 'Promise<{ languages: ({ lang: string; displayName: string; messages: { "form.section.child.name": string; "form.section.child.title": string; "buttons.editRecord": string; "buttons.apply": string; "buttons.approve": string; ... 1151 more ...; "certificate.receipt.service.5year.amount"?: undefined; }; } | { ...; })[]...' is not assignable to type 'Promise<IContentResponse>'.
|
Lint client
Property 'forms' does not exist on type '{ birth: { sections: ({ id: string; viewType: string; name: { defaultMessage: string; description: string; id: string; }; groups: never[]; mapping: { template: ({ fieldName: string; operation: string; parameters?: undefined; } | { ...; })[]; mutation: { ...; }; query: { ...; }; }; title?: undefined; } | ... 5 more ....'.
|
Lint client
Argument of type '{ languages: ({ lang: string; displayName: string; messages: { "form.section.child.name": string; "form.section.child.title": string; "buttons.editRecord": string; "buttons.apply": string; "buttons.approve": string; ... 1151 more ...; "certificate.receipt.service.5year.amount"?: undefined; }; } | { ...; })[]; ... 8 ...' is not assignable to parameter of type 'IOfflineData'.
|
Lint unused exports with Knip
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
client
|
11.3 MB |
|