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

Commit

Permalink
fix: lint build error fixes to newpatientform test file{2}
Browse files Browse the repository at this point in the history
  • Loading branch information
M-BenAli committed Jan 24, 2020
1 parent 9bf8cef commit a5d625c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/patients/new/NewPatientForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ describe('New Patient Form', () => {
const wrapper = render(<NewPatientForm onCancel={onCancel} onSave={onSave}/>)
const givenName = wrapper.getByPlaceholderText('patient.givenName')
const saveButton = wrapper.getByText('actions.save')
expect(givenName).toBeNull()
expect(givenName.textContent).toBe('')

act(() => {
fireEvent.click(saveButton)
Expand Down

0 comments on commit a5d625c

Please sign in to comment.