diff --git a/pwa/src/components/PatientInfoForm.test.tsx b/pwa/src/components/PatientInfoForm.test.tsx index 23d175b..0311782 100644 --- a/pwa/src/components/PatientInfoForm.test.tsx +++ b/pwa/src/components/PatientInfoForm.test.tsx @@ -82,7 +82,9 @@ test('validates blood pressure input', () => { , ) - const bpInput = dom.getByPlaceholderText('Blood Pressure') + const bpInput = dom.getByPlaceholderText( + 'Blood Pressure', + ) as HTMLInputElement fireEvent.change(bpInput, { target: { value: '130/85' } }) expect(bpInput.value).toBe('130/85') fireEvent.change(bpInput, { target: { value: '' } })