fix(tests): add workaround for react-18 upgrade #4963
dhis2-verify-lib.yml
on: push
Annotations
10 errors and 23 warnings
test
Process completed with exit code 1.
|
lint:
components/header-bar/src/command-palette/__tests__/browse-apps-view.test.js#L1
'fireEvent' is defined but never used
|
lint:
components/header-bar/src/command-palette/__tests__/browse-apps-view.test.js#L1
wait not found in '@testing-library/react'
|
lint:
components/header-bar/src/command-palette/__tests__/browse-apps-view.test.js#L1
'wait' is defined but never used
|
lint:
components/header-bar/src/command-palette/__tests__/browse-apps-view.test.js#L2
There should be no empty line between import groups
|
lint:
components/header-bar/src/command-palette/__tests__/browse-apps-view.test.js#L59
'queryByTestId' is assigned a value but never used
|
lint:
components/header-bar/src/command-palette/__tests__/browse-apps-view.test.js#L63
'container' is assigned a value but never used
|
lint:
components/header-bar/src/command-palette/__tests__/browse-apps-view.test.js#L65
'debug' is assigned a value but never used
|
lint:
components/header-bar/src/command-palette/__tests__/command-palette.test.js#L4
'waitForElementToBeRemoved' is defined but never used
|
lint
Process completed with exit code 1.
|
setup-matrix
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/
|
build
The `save-state` 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/
|
build
The `save-state` 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/
|
build
The `save-state` 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/
|
build
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/
|
test
The `save-state` 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/
|
test
The `save-state` 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/
|
test
The `save-state` 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/
|
test
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 `save-state` 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 `save-state` 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 `save-state` 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:
components/alert/src/alert-bar/alert-bar.js#L101
React Hook useEffect has missing dependencies: 'inDOM', 'runHideAnimation', and 'runShowAnimation'. Either include them or remove the dependency array
|
lint:
components/button/src/button/button.js#L38
React Hook useEffect has an unnecessary dependency: 'ref.current'. Either exclude it or remove the dependency array. Mutable values like 'ref.current' aren't valid dependencies because mutating them doesn't re-render the component
|
lint:
components/header-bar/src/command-palette/__tests__/browse-apps-view.test.js#L2
Using exported name 'userEvent' as identifier for default export
|
lint:
components/header-bar/src/command-palette/hooks/use-navigation.js#L188
React Hook useCallback has a missing dependency: 'showGrid'. Either include it or remove the dependency array
|
lint:
components/header-bar/src/command-palette/hooks/use-navigation.js#L239
React Hook useCallback has unnecessary dependencies: 'show' and 'showGrid'. Either exclude them or remove the dependency array
|
lint:
components/intersection-detector/src/intersection-detector.js#L62
React Hook useEffect has missing dependencies: 'onChange', 'rootRef', and 'threshold'. Either include them or remove the dependency array. Mutable values like 'rootRef.current' aren't valid dependencies because mutating them doesn't re-render the component
|
lint:
components/organisation-unit-tree/src/organisation-unit-node/use-open-state.js#L29
React Hook useEffect has missing dependencies: 'onExpand' and 'path'. Either include them or remove the dependency array. If 'onExpand' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint:
components/organisation-unit-tree/src/organisation-unit-node/use-org-children.js#L47
React Hook useMemo has a missing dependency: 'node.children'. Either include it or remove the dependency array
|
lint:
components/organisation-unit-tree/src/organisation-unit-node/use-org-children.js#L55
React Hook useEffect has a missing dependency: 'node'. Either include it or remove the dependency array
|
lint:
components/organisation-unit-tree/src/organisation-unit-tree/use-force-reload.js#L19
React Hook useEffect has a missing dependency: 'reloadId'. Either include it or remove the dependency array
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
lib-build
Expired
|
1.77 MB |
|