mirror of
https://github.com/Haiti-Distributed-Healthcare-System/hdhs.git
synced 2026-10-26 17:35:23 +00:00
linting fix - html element typecasted as an input ele
This commit is contained in:
1 parent
f3d4e2cfdd
commit
288b0dd010
1 file changed
+3
-1
@@ -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: '' } })
|
||||
|
||||
Reference in new issue
Block a user