Skip to content

chore: write tests for the email status functionality #88

chore: write tests for the email status functionality

chore: write tests for the email status functionality #88

Triggered via push February 3, 2025 08:24
Status Failure
Total duration 2m 30s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint / lint: src/components/UserForm/BasicInformationSection.test.js#L2
Missing file extension "js" for "./BasicInformationSection"
lint / lint: src/components/UserForm/BasicInformationSection.test.js#L3
`../../hooks/useFeatureToggle` import should occur before import of `./BasicInformationSection`
lint / lint: src/components/UserForm/BasicInformationSection.test.js#L3
Missing file extension "js" for "../../hooks/useFeatureToggle"
lint / lint: src/components/UserForm/BasicInformationSection.test.js#L4
`@dhis2/app-runtime` import should occur before import of `@testing-library/react`
lint / lint: src/components/UserForm/BasicInformationSection.test.js#L5
`react-final-form` import should occur before import of `./BasicInformationSection`
lint / lint: src/components/UserForm/BasicInformationSection.test.js#L23
'React' must be in scope when using JSX
lint / lint: src/components/UserForm/BasicInformationSection.test.js#L41
'React' must be in scope when using JSX
lint / lint: src/components/UserForm/BasicInformationSection.test.js#L64
'React' must be in scope when using JSX
lint / lint: src/components/UserForm/BasicInformationSection.test.js#L87
'React' must be in scope when using JSX
lint / lint: src/components/UserForm/BasicInformationSection.test.js#L116
'React' must be in scope when using JSX
lint / lint: src/components/BulkMemberManager/hooks/useResults/useResults.js#L94
React Hook useEffect has a missing dependency: 'navigateToPage'. Either include it or remove the dependency array
lint / lint: src/components/BulkMemberManager/hooks/useResults/useResults.js#L102
React Hook useEffect has missing dependencies: 'transformQueryResponse' and 'updatePrevPageRef'. Either include them or remove the dependency array. If 'transformQueryResponse' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint / lint: src/components/BulkMemberManager/hooks/useResults/useResults.js#L106
React Hook useEffect has a missing dependency: 'navigateToPage'. Either include it or remove the dependency array
lint / lint: src/components/Form.js#L192
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
lint / lint: src/components/GroupForm/BulkUserManager/BulkUserManagerField.js#L12
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
lint / lint: src/components/GroupForm/BulkUserManager/useQueries.js#L65
React Hook useMemo has a missing dependency: 'params'. Either include it or remove the dependency array
lint / lint: src/components/RoleForm/MetadataAuthoritiesTableField.js#L79
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
lint / lint: src/components/RoleForm/MetadataAuthoritiesTableField.js#L111
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
lint / lint: src/components/SearchableOrgUnitTree/AsyncAutoComplete/useOrgUnitSearchResults.js#L61
React Hook useEffect has missing dependencies: 'currentUser', 'orgUnitType', and 'waiting'. Either include them or remove the dependency array. If 'setOrganisationUnits' needs the current value of 'orgUnitType', you can also switch to useReducer instead of useState and read 'orgUnitType' in the reducer
lint / lint: src/hooks/useValidator.js#L12
React Hook useCallback has a missing dependency: 'memoedValidator'. Either include it or remove the dependency array