Skip to content

* Added tests to ScopeEditor #4916

* Added tests to ScopeEditor

* Added tests to ScopeEditor #4916

Triggered via push August 6, 2024 08:47
Status Failure
Total duration 7m 49s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 12 warnings
test: src/fragmentarium/application/FragmentService.test.ts#L1
Argument of type '{ statistics: jest.Mock<any, any>; find: jest.Mock<any, any>; updateTransliteration: jest.Mock<any, any>; updateIntroduction: jest.Mock<any, any>; updateNotes: jest.Mock<...>; ... 23 more ...; queryByTraditionalReferences: jest.Mock<...>; }' is not assignable to parameter of type 'FragmentRepository & AnnotationRepository'.
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/codeclimate-action@v2.7.4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v1, paambaati/codeclimate-action@v2.7.4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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