Skip to content

update object dto conversions #3978

update object dto conversions

update object dto conversions #3978

Triggered via push November 6, 2023 11:32
Status Failure
Total duration 8m 57s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 11 warnings
test
The process '/usr/local/bin/yarn' failed with exit code 1
test
🚨 Coverage run failed!
test: src/fragmentarium/domain/archaeology.test.ts#L1
Argument of type '{ excavationNumber: MuseumNumber; site: "" | "Assyria" | "Aššur" | "Ḫuzirina" | "Kalḫu" | "Khorsabad" | "Nineveh" | "Tarbiṣu" | "Babylonia" | "Babylon" | "Borsippa" | ... 64 more ... | "Uncertain"; isRegularExcavation?: boolean | undefined; findspotId?: number | ... 1 more ... | undefined; findspot?: Findspot | ... ...' is not assignable to parameter of type 'Omit<ArchaeologyDto, "excavationNumber"> & { excavationNumber?: MuseumNumber | undefined; }'.
test: src/fragmentarium/ui/fragment/CuneiformFragment.test.tsx#L1
Property 'findspotService' is missing in type '{ fragment: Fragment; fragmentService: Mocked<FragmentService>; fragmentSearchService: Mocked<FragmentSearchService>; wordService: Mocked<...>; activeLine: string; }' but required in type 'ControllerProps'.
test: src/fragmentarium/ui/fragment/FragmentView.test.tsx#L1
Property 'findspotService' is missing in type '{ number: string; folioName: string | null; folioNumber: string | null; tab: string | null; fragmentService: Mocked<FragmentService>; fragmentSearchService: Mocked<...>; wordService: Mocked<...>; activeLine: string; session: any; }' but required in type 'Omit<Props, "fragment">'.
test: src/router/sitemap.test.tsx#L1
Property 'findspotService' is missing in type '{ signService: jest.Mocked<SignService>; bibliographyService: jest.Mocked<BibliographyService>; wordService: jest.Mocked<WordService>; fragmentService: jest.Mocked<...>; fragmentSearchService: jest.Mocked<...>; textService: jest.Mocked<...>; markupService: jest.Mocked<...>; }' but required in type 'Services'.
test
Process completed with exit code 2.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1, paambaati/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test: src/about/ui/about.test.tsx#L13
Unexpected any. Specify a different type
test: src/auth/react-auth0-spa.tsx#L76
React Hook useEffect has missing dependencies: 'initOptions', 'onRedirectCallback', and 'returnTo'. Either include them or remove the dependency array. If 'onRedirectCallback' changes too often, find the parent component that defines it and wrap that definition in useCallback
test: src/bibliography/domain/BibliographyEntry.ts#L23
Unexpected any. Specify a different type
test: src/common/HtmlParsing.tsx#L3
Argument 'inputElements' should be typed with a non-any type
test: src/common/HtmlParsing.tsx#L3
Unexpected any. Specify a different type
test: src/common/List.tsx#L34
'value' is missing in props validation
test: src/common/List.tsx#L35
'children' is missing in props validation
test: src/common/List.tsx#L36
'onChange' is missing in props validation
test: src/common/List.tsx#L37
'defaultValue' is missing in props validation
test: src/common/List.tsx#L71
'value.map' is missing in props validation