Skip to content

[Bugfix] Update UI and handle new navigation #133

[Bugfix] Update UI and handle new navigation

[Bugfix] Update UI and handle new navigation #133

Triggered via pull request September 4, 2024 22:05
Status Failure
Total duration 4m 43s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
Lint: public/components/main/__tests__/main.test.tsx#L14
'array' is defined but never used. Allowed unused args must match /^_/u
Lint: public/components/main/__tests__/main.test.tsx#L26
Return a Promise instead of relying on callback parameter
Lint: public/components/main/__tests__/main.test.tsx#L37
Replace `·httpClient={httpClientMock}·setBreadcrumbs={setBreadcrumbs}·chrome={chromeMock}` with `⏎········httpClient={httpClientMock}⏎········setBreadcrumbs={setBreadcrumbs}⏎········chrome={chromeMock}⏎·····`
Lint: public/components/main/__tests__/main.test.tsx#L56
Replace `·httpClient={httpClientMock}·setBreadcrumbs={setBreadcrumbs}·chrome={chromeMock}` with `⏎········httpClient={httpClientMock}⏎········setBreadcrumbs={setBreadcrumbs}⏎········chrome={chromeMock}⏎·····`
Lint: public/components/main/__tests__/main.test.tsx#L74
Replace `·httpClient={httpClientMock}·setBreadcrumbs={setBreadcrumbs}·chrome={chromeMock}` with `⏎········httpClient={httpClientMock}⏎········setBreadcrumbs={setBreadcrumbs}⏎········chrome={chromeMock}⏎·····`
Lint: public/components/main/__tests__/main.test.tsx#L92
Replace `·httpClient={httpClientMock}·setBreadcrumbs={setBreadcrumbs}·chrome={chromeMock}` with `⏎········httpClient={httpClientMock}⏎········setBreadcrumbs={setBreadcrumbs}⏎········chrome={chromeMock}⏎·····`
Lint: public/components/main/__tests__/main.test.tsx#L98
should not have duplicate prefix
Lint: public/components/main/__tests__/main.test.tsx#L140
Replace `·httpClient={httpClientMock}·setBreadcrumbs={setBreadcrumbs}·chrome={chromeMock}` with `⏎········httpClient={httpClientMock}⏎········setBreadcrumbs={setBreadcrumbs}⏎········chrome={chromeMock}⏎·····`
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, lots0logs/gh-action-get-changed-files@2.2.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint: public/components/main/__tests__/main.test.tsx#L98
Test has no assertions
Lint: public/components/main/__tests__/main.test.tsx#L149
Test has no assertions
Lint: public/components/main/__tests__/main.test.tsx#L201
Test has no assertions