Skip to content

style: fixed perimeters exploration checkbox alignment - Ref gestion-… #2685

style: fixed perimeters exploration checkbox alignment - Ref gestion-…

style: fixed perimeters exploration checkbox alignment - Ref gestion-… #2685

Triggered via push November 26, 2024 10:22
Status Failure
Total duration 1m 49s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
test: src/__tests__/data/cohortCreation/claimCriteria.ts#L33
Type '{ id: string; label: string; system: string; }' is not assignable to type 'Hierarchy<FhirItem, string>'.
test: src/__tests__/data/cohortCreation/claimCriteria.ts#L39
Type '{ id: string; label: string; system: string; }' is not assignable to type 'Hierarchy<FhirItem, string>'.
test: src/__tests__/data/cohortCreation/claimCriteria.ts#L45
Type '{ id: string; label: string; system: string; }' is not assignable to type 'Hierarchy<FhirItem, string>'.
test: src/__tests__/data/cohortCreation/claimCriteria.ts#L51
Type '{ id: string; label: string; system: string; }' is not assignable to type 'Hierarchy<FhirItem, string>'.
test: src/__tests__/data/cohortCreation/cohortCreation.ts#L85
Type '{ id: string; label: string; system: string; }' is not assignable to type 'Hierarchy<FhirItem, string>'.
test: src/__tests__/data/cohortCreation/cohortCreation.ts#L91
Type '{ id: string; label: string; system: string; }' is not assignable to type 'Hierarchy<FhirItem, string>'.
test: src/__tests__/data/cohortCreation/conditionCriteria.ts#L34
Type '{ id: string; label: string; system: string; }' is not assignable to type 'Hierarchy<FhirItem, string>'.
test: src/__tests__/data/cohortCreation/conditionCriteria.ts#L39
Type '{ id: string; label: string; system: string; }' is not assignable to type 'Hierarchy<FhirItem, string>'.
test: src/__tests__/data/cohortCreation/conditionCriteria.ts#L59
Type '{ above_levels_ids: string; cohort_id: string; cohort_size: string; full_path: string; id: string; inferior_levels_ids: string; name: string; parent_id: string; source_value: string; status: undefined; subItems: undefined; type: string; }' is not assignable to type 'Hierarchy<ScopeElement, string>'.
test: src/__tests__/data/cohortCreation/documentCriteria.ts#L44
Type '{ above_levels_ids: string; cohort_id: string; cohort_size: string; full_path: string; id: string; inferior_levels_ids: string; name: string; parent_id: string; source_value: string; status: undefined; subItems: undefined; type: string; }' is not assignable to type 'Hierarchy<ScopeElement, string>'.
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/index.tsx#L104
React Hook useEffect has a missing dependency: 'currentCriteria'. Either include it or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/DocumentsForm/DocumentsForm.tsx#L115
React Hook useEffect has missing dependencies: 'defaultValues.search' and 'searchInputError'. Either include them or remove the dependency array. You can also do a functional update 'setSearchInputError(s => ...)' if you only need 'searchInputError' in the 'setSearchInputError' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/MedicationForm/index.tsx#L63
React Hook useEffect has a missing dependency: 'currentCriteria'. Either include it or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/MedicationForm/index.tsx#L94
React Hook "useMemo" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
test: src/components/CreationCohort/DiagramView/components/TemporalConstraintCard/TemporalConstraintCard.tsx#L38
React Hook useEffect has a missing dependency: 'temporalConstraints?.length'. Either include it or remove the dependency array
test: src/components/CreationCohort/DiagramView/components/TemporalConstraintCard/TemporalConstraintCard.tsx#L52
React Hook useEffect has missing dependencies: 'criteriaGroup', 'dispatch', 'selectedCriteria', and 'temporalConstraints'. Either include them or remove the dependency array
test: src/components/CreationCohort/DiagramView/index.tsx#L51
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
test: src/components/CreationCohort/Modals/ModalCreateNewRequest/ModalCreateNewRequest.tsx#L112
React Hook useEffect has missing dependencies: '_fetchProject' and '_fetchRequestNumber'. Either include them or remove the dependency array