Skip to content

Implement display & update (WiP) #5002

Implement display & update (WiP)

Implement display & update (WiP) #5002

Triggered via push December 18, 2024 18:05
Status Failure
Total duration 8m 20s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 11 warnings
test
The process '/usr/local/bin/yarn' failed with exit code 1
test
🚨 Coverage run failed!
test: src/dossiers/ui/DossierDisplay.test.tsx#L1
'DossierDisplay.test.tsx' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.
test: src/fragmentarium/domain/Fragment.test.ts#L1
Property 'dossiers' is missing in type '{ number: string; accession: string; publication: string; joins: { museumNumber: string; isChecked: true; date: string; joinedBy: string; note: string; legacyData: string; isInFragmentarium: true; isEnvelope: true; }[][]; ... 19 more ...; authorizedScopes: string[]; }' but required in type 'FragmentProps'.
test: src/fragmentarium/infrastructure/FragmentRepository.ts#L1
Argument of type '{ number: string; accession: string; museum: { readonly name: "Institute for the Study of Ancient Cultures, West Asia & North Africa"; readonly city: "Chicago"; readonly country: "USA"; readonly url: "https://isac.uchicago.edu/"; } | ... 43 more ... | { ...; }; ... 29 more ...; authorziedScopes?: string[] | undefine...' is not assignable to parameter of type 'FragmentProps'.
test: src/fragmentarium/ui/info/Details.tsx#L1
Module '"dossiers/ui/DossiersDisplay"' has no exported member 'FragmentDossierRecordsDisplay'. Did you mean to use 'import FragmentDossierRecordsDisplay from "dossiers/ui/DossiersDisplay"' instead?
test: src/test-support/fragment-fixtures.ts#L1
Argument of type 'MesopotamianDate' is not assignable to parameter of type 'readonly string[]'.
test: src/test-support/test-fragment.ts#L1
Argument of type 'MesopotamianDate' is not assignable to parameter of type 'readonly string[]'.
test
Process completed with exit code 2.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test: src/about/ui/about.test.tsx#L12
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