fix(tests): use fireEvent to simulate open/close of the palette #4971
Annotations
14 warnings
Run c-hive/gha-yarn-cache@v1
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/
|
Run c-hive/gha-yarn-cache@v1
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/
|
Run c-hive/gha-yarn-cache@v1
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/
|
Run c-hive/gha-yarn-cache@v1
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
|
Loading