Skip to content

Commit

Permalink
add mock functions to the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hadijahkyampeire committed Oct 22, 2023
1 parent 0f71bee commit b5596e7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})),
Expand Down

0 comments on commit b5596e7

Please sign in to comment.