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

Commit 06d3c86

Browse files
authored
chore(lint): lint file
1 parent 1fe9281 commit 06d3c86

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/__tests__/patients/appointments/AppointmentsList.test.tsx

+2-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Provider } from 'react-redux'
1010
import AppointmentsList from 'patients/appointments/AppointmentsList'
1111
import * as components from '@hospitalrun/components'
1212
import { act } from 'react-dom/test-utils'
13-
import PatientRepository from 'clients/db/PatientRepository'
13+
// import PatientRepository from 'clients/db/PatientRepository' # Lint warning: 'PatientRepository' is defined but never used
1414

1515
const expectedPatient = {
1616
id: '123',
@@ -59,10 +59,7 @@ describe('AppointmentsList', () => {
5959
const wrapper = setup()
6060

6161
act(() => {
62-
wrapper
63-
.find(components.Button)
64-
.at(0)
65-
.prop('onClick')()
62+
wrapper.find(components.Button).at(0).prop('onClick')()
6663
})
6764
wrapper.update()
6865

0 commit comments

Comments
 (0)