From b5596e7daa570b9269bb5d693bc1ffcb26e32ea0 Mon Sep 17 00:00:00 2001 From: hadijahkyampeire Date: Mon, 23 Oct 2023 00:23:06 +0300 Subject: [PATCH] add mock functions to the tests --- .../vitals-biometrics-form/vitals-biometrics-form.test.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/esm-patient-vitals-app/src/vitals/vitals-biometrics-form/vitals-biometrics-form.test.tsx b/packages/esm-patient-vitals-app/src/vitals/vitals-biometrics-form/vitals-biometrics-form.test.tsx index 1bfc1a5881..f6af4751d2 100644 --- a/packages/esm-patient-vitals-app/src/vitals/vitals-biometrics-form/vitals-biometrics-form.test.tsx +++ b/packages/esm-patient-vitals-app/src/vitals/vitals-biometrics-form/vitals-biometrics-form.test.tsx @@ -61,6 +61,8 @@ jest.mock('@openmrs/esm-patient-common-lib', () => { jest.mock('../vitals.resource', () => ({ savePatientVitals: jest.fn(), + assessValue: jest.fn(), + getReferenceRangesForConcept: jest.fn(), useVitals: jest.fn().mockImplementation(() => ({ mutate: jest.fn, })),