Skip to content

Rework external resources section #3916

Rework external resources section

Rework external resources section #3916

Triggered via pull request October 26, 2023 14:07
Status Failure
Total duration 12m 1s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 11 warnings
test
The process '/usr/local/bin/yarn' failed with exit code 1
test
🚨 Coverage run failed!
test: src/fragmentarium/domain/Fragment.test.ts#L1
Property 'metropolitanNumber' is missing in type '{ cdliNumber: string; bmIdNumber: string; archibabNumber: string; bdtnsNumber: string; urOnlineNumber: string; hilprechtJenaNumber: string; hilprechtHeidelbergNumber: string; }' but required in type 'ExternalNumbers'.
test: src/fragmentarium/domain/museum.test.ts#L1
Object is of type 'unknown'.
test: src/fragmentarium/domain/museum.test.ts#L1
Object is of type 'unknown'.
test: src/fragmentarium/domain/museum.test.ts#L1
Object is of type 'unknown'.
test: src/fragmentarium/ui/info/Details.test.tsx#L1
Object is of type 'unknown'.
test: src/fragmentarium/ui/info/ExternalResources.test.tsx#L1
Object is of type 'unknown'.
test: src/test-support/fragment-fixtures.ts#L1
Argument of type '({ associations, transientParams }: GeneratorFnOptions<ExternalNumbers, any, ExternalNumbers>) => { cdliNumber: any; bmIdNumber: any; archibabNumber: any; bdtnsNumber: any; urOnlineNumber: any; hilprechtJenaNumber: any; hilprechtHeidelbergNumber: any; }' is not assignable to parameter of type 'GeneratorFn<ExternalNumbers, any, ExternalNumbers>'.
test: src/test-support/fragment-fixtures.ts#L1
Object is of type 'unknown'.
test: src/test-support/test-fragment.ts#L1
Property 'metropolitanNumber' is missing in type '{ cdliNumber: string; bmIdNumber: string; archibabNumber: string; bdtnsNumber: string; urOnlineNumber: string; hilprechtJenaNumber: string; hilprechtHeidelbergNumber: string; }' but required in type 'ExternalNumbers'.
test: src/test-support/test-fragment.ts#L1
Argument of type '{ cdliNumber: string; bmIdNumber: string; archibabNumber: string; bdtnsNumber: string; urOnlineNumber: string; hilprechtJenaNumber: string; hilprechtHeidelbergNumber: string; }' is not assignable to parameter of type 'ExternalNumbers'.
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