From 552b07816f0ca920c1fe394d578c3ca6b8064bf9 Mon Sep 17 00:00:00 2001 From: codyarose Date: Sun, 27 Dec 2020 22:45:49 -0600 Subject: [PATCH] Add missing resetAllMocks --- src/__tests__/patients/allergies/NewAllergyModal.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/__tests__/patients/allergies/NewAllergyModal.test.tsx b/src/__tests__/patients/allergies/NewAllergyModal.test.tsx index bce68f8fbc..f600154f4d 100644 --- a/src/__tests__/patients/allergies/NewAllergyModal.test.tsx +++ b/src/__tests__/patients/allergies/NewAllergyModal.test.tsx @@ -16,6 +16,7 @@ describe('New Allergy Modal', () => { } as Patient const setup = (onCloseSpy = jest.fn()) => { + jest.resetAllMocks() jest.spyOn(PatientRepository, 'saveOrUpdate').mockResolvedValue(mockPatient) jest.spyOn(PatientRepository, 'find').mockResolvedValue(mockPatient)