SFR-2161: Render appropriate error page for server-side errors #968
Annotations
10 errors
src/__tests__/AdvancedSearch.test.tsx#L14
Type 'string' is not assignable to type 'number'.
|
src/__tests__/AdvancedSearch.test.tsx#L60
Type 'string' is not assignable to type 'number'.
|
src/__tests__/fixtures/CollectionFixture.ts#L40
Type '{ groups: { links: { href: string; rel: string[]; type: string; }[]; metadata: { creator: string; currentPage: number; description: string; itemsPerPage: number; numberOfItems: number; title: string; }; publications: ({ ...; } | { ...; })[]; }[]; links: { ...; }[]; metadata: { ...; }; }' is not assignable to type 'CollectionResult'.
|
src/__tests__/fixtures/CollectionFixture.ts#L205
Type '{ groups: ({ links: { href: string; rel: string[]; type: string; }[]; metadata: { creator: string; currentPage: number; description: string; itemsPerPage: number; numberOfItems: number; title: string; }; publications: ({ ...; } | { ...; })[]; } | { ...; } | { ...; })[]; links: { ...; }[]; metadata: { ...; }; }' is not assignable to type 'CollectionResult'.
|
src/components/Collection/Collection.test.tsx#L16
Property 'collections' is missing in type 'Opds2Feed' but required in type 'CollectionResult'.
|
src/components/Collection/Collection.test.tsx#L115
Type 'Opds2Feed' is not assignable to type 'CollectionResult'.
|
src/components/Collection/Collection.test.tsx#L183
Type 'Opds2Feed' is not assignable to type 'CollectionResult'.
|
src/components/CollectionList/CollectionList.test.tsx#L20
Type 'CollectionResult' is missing the following properties from type 'Opds2Feed': links, metadata
|
src/components/Landing/Landing.test.tsx#L18
Type 'CollectionResult' is not assignable to type 'Opds2Feed'.
|
|
This job failed
Loading