Skip to content

MAT-7667 Updated RouteChangePrompt to use useBlocker navigations and … #954

MAT-7667 Updated RouteChangePrompt to use useBlocker navigations and …

MAT-7667 Updated RouteChangePrompt to use useBlocker navigations and … #954

Triggered via pull request November 15, 2024 19:59
Status Success
Total duration 4m 40s
Artifacts 1

unit_test_coverage.yml

on: pull_request
Checkout, install, lint, build and test with coverage
2m 30s
Checkout, install, lint, build and test with coverage
Upload code coverage to Codacy
5s
Upload code coverage to Codacy
Upload code coverage to Codecov
1m 54s
Upload code coverage to Codecov
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Checkout, install, lint, build and test with coverage
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Checkout, install, lint, build and test with coverage: src/components/MainNavBar/MainNavBar.tsx#L35
React Hook useEffect has missing dependencies: 'isLoggedInToUMLS' and 'terminologyServiceApi'. Either include them or remove the dependency array
Checkout, install, lint, build and test with coverage: src/components/MainNavBar/UserAvatar.tsx#L48
React Hook useEffect has a missing dependency: 'oktaAuth.token'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage: src/components/PageHeader/PageHeader.tsx#L115
React Hook useEffect has a missing dependency: 'updateFeatureFlags'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage: src/components/timeoutHandler/TimeoutHandler.tsx#L64
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
Checkout, install, lint, build and test with coverage: src/components/timeoutHandler/TimeoutHandler.tsx#L139
React Hook useCallback has missing dependencies: 'refreshTokens' and 'resetTimeout'. Either include them or remove the dependency array
Checkout, install, lint, build and test with coverage: src/components/timeoutHandler/TimeoutHandler.tsx#L157
React Hook useLayoutEffect has a missing dependency: 'timeoutCallBack'. Either include it or remove the dependency array
Upload code coverage to Codacy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Upload code coverage to Codecov
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "coverage". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
coverage
15.5 KB