fix: misc fixes #2733
Annotations
3 errors and 11 warnings
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildPatientFilter > should return deathdates build Patient:
src/__tests__/cohortCreation/cohortCreation.test.ts#L210
AssertionError: expected 'active=true' to deeply equal 'active=true&death-date=ge2020-01-01T0…'
Expected: "active=true&death-date=ge2020-01-01T00:00:00Z&death-date=le2020-12-31T00:00:00Z"
Received: "active=true"
❯ src/__tests__/cohortCreation/cohortCreation.test.ts:210:86
|
src/__tests__/cohortCreation/cohortCreation.test.ts > test of buildObservationFilter > should return build complete obervation criteria:
src/__tests__/cohortCreation/cohortCreation.test.ts#L445
AssertionError: expected '_filter=(encounter.period-start ge 20…' to deeply equal '_filter=(encounter.period-start ge 20…'
Expected: "_filter=(encounter.period-start ge 2024-09-04T00:00:00Z and encounter.period-start le 2024-09-07T00:00:00Z) or not (encounter.period-start eq "*")&code=I3356&date=ge2024-09-03T00:00:00Z&date=le2024-09-04T00:00:00Z&encounter.encounter-care-site=8312016825&encounter.period-end=ge2024-09-02T00:00:00Z&encounter.period-end=le2024-09-06T00:00:00Z&encounter.status=cancelled&status=Val&subject.active=true&value-quantity=3"
Received: "_filter=(encounter.period-start ge 2024-09-04T00:00:00Z and encounter.period-start le 2024-09-07T00:00:00Z) or not (encounter.period-start eq "*")&code=https://terminology.eds.aphp.fr/aphp-itm-anabio|I3356&date=ge2024-09-03T00:00:00Z&date=le2024-09-04T00:00:00Z&encounter.encounter-care-site=8312016825&encounter.period-end=ge2024-09-02T00:00:00Z&encounter.period-end=le2024-09-06T00:00:00Z&encounter.status=cancelled&status=Val&subject.active=true&value-quantity=le0,ge0"
❯ src/__tests__/cohortCreation/cohortCreation.test.ts:445:79
|
test
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test:
src/components/CreationCohort/DiagramView/DiagramView.tsx#L51
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/BiologySearch/BiologySearch.tsx#L91
Unexpected any. Specify a different type
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/BiologySearch/BiologySearch.tsx#L91
Unexpected any. Specify a different type
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/BiologySearch/BiologySearch.tsx#L165
React Hook useEffect has a missing dependency: 'getBiologySearchResults'. Either include it or remove the dependency array
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Hierarchy/BiologyHierarchy.tsx#L40
Unexpected any. Specify a different type
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Hierarchy/BiologyHierarchy.tsx#L40
Unexpected any. Specify a different type
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Hierarchy/BiologyHierarchy.tsx#L41
Unexpected any. Specify a different type
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Hierarchy/BiologyHierarchy.tsx#L41
Unexpected any. Specify a different type
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Hierarchy/BiologyHierarchy.tsx#L42
Unexpected any. Specify a different type
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/components/Hierarchy/BiologyHierarchy.tsx#L42
Unexpected any. Specify a different type
|