linting fix - html element typecasted as an input ele

This commit is contained in:
Ben Mitchinson committed 2020-04-24 12:48:26 -05:00
1 parent f3d4e2cfdd
commit 288b0dd010
1 file changed
+3 -1
+3 -1
View File
@@ -82,7 +82,9 @@ test('validates blood pressure input', () => {
</StoreProvider>,
)
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: '' } })