Skip to content

Nickakhmetov/HMP-194 Configure Linters / HMP-96 Introduce Typescript #1151

Nickakhmetov/HMP-194 Configure Linters / HMP-96 Introduce Typescript

Nickakhmetov/HMP-194 Configure Linters / HMP-96 Introduce Typescript #1151

Triggered via pull request July 5, 2023 19:23
Status Failure
Total duration 3m 11s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

node-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
build: context/app/static/js/components/Header/UserLinks/UserLinks.spec.js#L15
Prefer .toBeInTheDocument() for asserting DOM node existence
build: context/app/static/js/components/Header/UserLinks/UserLinks.spec.js#L25
Prefer .toBeInTheDocument() for asserting DOM node existence
build: context/app/static/js/components/Providers.jsx#L9
Unable to resolve path to module '../fonts'
build: context/app/static/js/components/Providers.jsx#L33
The object passed as the value prop to the Context provider (at line 33) changes every render. To fix this consider wrapping it in a useMemo hook
build: context/app/static/js/components/cells/DatasetClusterChart/utils.spec.js#L12
should not have leading or trailing spaces
build: context/app/static/js/components/cells/tutorial/CellsTutorial/CellsTutorial.jsx#L87
Must use destructuring themeContext assignment
build: context/app/static/js/components/cells/tutorial/CellsTutorial/CellsTutorial.jsx#L88
Must use destructuring themeContext assignment
build: context/app/static/js/components/detailPage/Attribution/Attribution.spec.js#L18
Avoid destructuring queries from `render` result, use `screen.getByText` instead
build: context/app/static/js/components/detailPage/Citation/Citation.stories.js#L10
Function component is not a function declaration
build: context/app/static/js/components/detailPage/files/FileBrowser/FileBrowser.spec.js#L15
Function component is not a function declaration