From c22d02b15d596289ebd7e71ab7ca8b8cae0d8b26 Mon Sep 17 00:00:00 2001 From: Matthew Dorner Date: Fri, 21 Feb 2020 17:26:33 -0600 Subject: [PATCH] feat(edit appointment): fix lint errors and typo --- src/HospitalRun.tsx | 2 +- .../scheduling/appointments/appointments-slice.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HospitalRun.tsx b/src/HospitalRun.tsx index 9955aa63b6..206b4f8c07 100644 --- a/src/HospitalRun.tsx +++ b/src/HospitalRun.tsx @@ -84,7 +84,7 @@ const HospitalRun = () => { exact path="/appointments/edit/:id" component={EditAppointment} - /> + /> { expect(dispatch).toHaveBeenCalledWith({ type: fetchAppointmentsStart.type }) }) - it('should call the AppointmentsRepository findAll() function', async () => { + it('should call the AppointmentRepository findAll() function', async () => { const dispatch = jest.fn() const getState = jest.fn() await fetchAppointments()(dispatch, getState, null)