Skip to content

don't rely on MDM solution name to know if the host has Fleet MDM on #1656

don't rely on MDM solution name to know if the host has Fleet MDM on

don't rely on MDM solution name to know if the host has Fleet MDM on #1656

Triggered via pull request June 13, 2024 23:47
Status Success
Total duration 1m 56s
Artifacts

test-js.yml

on: pull_request
Matrix: lint-js
Matrix: test-js
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
lint-js (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d, actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-js (ubuntu-latest): frontend/__mocks__/softwareMock.ts#L47
'MockSoftwareTitle' is defined but never used
lint-js (ubuntu-latest): frontend/components/App/App.tsx#L160
React Hook useEffect has a missing dependency: 'fetchCurrentUser'. Either include it or remove the dependency array
lint-js (ubuntu-latest): frontend/components/App/App.tsx#L186
Expected to return a value at the end of async arrow function
lint-js (ubuntu-latest): frontend/components/App/App.tsx#L203
Unexpected any. Specify a different type
lint-js (ubuntu-latest): frontend/components/ClickableUrls/ClickableUrls.tsx#L34
Dangerous property 'dangerouslySetInnerHTML' found
lint-js (ubuntu-latest): frontend/components/Editor/Editor.tsx#L34
Unexpected any. Specify a different type
lint-js (ubuntu-latest): frontend/components/FlashMessage/FlashMessage.tsx#L61
React Hook useEffect has missing dependencies: 'isPersistent' and 'onRemoveFlash'. Either include them or remove the dependency array. If 'onRemoveFlash' changes too often, find the parent component that defines it and wrap that definition in useCallback
test-js (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d, actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0, codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.