Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Add missing resetAllMocks
Browse files Browse the repository at this point in the history
  • Loading branch information
codyarose committed Dec 28, 2020
1 parent 7541d02 commit 552b078
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/__tests__/patients/allergies/NewAllergyModal.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 552b078

Please sign in to comment.