From 75bbf9c62a18c4dede7c4ad4ca83b68b786c11f3 Mon Sep 17 00:00:00 2001 From: Philipp Fritsche Date: Tue, 20 Jul 2021 18:56:10 +0000 Subject: [PATCH] test: fix istanbul ignore --- src/keyboard/shared/fireInputEvent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard/shared/fireInputEvent.ts b/src/keyboard/shared/fireInputEvent.ts index c1a7e801..ef21e2f1 100644 --- a/src/keyboard/shared/fireInputEvent.ts +++ b/src/keyboard/shared/fireInputEvent.ts @@ -25,7 +25,7 @@ export function fireInputEvent( // apply the changes before firing the input event, so that input handlers can access the altered dom and selection if (isContentEditable(element)) { applyNative(element, 'textContent', newValue) - } /* istanbul ignore else */ else if ( + } else /* istanbul ignore else */ if ( isElementType(element, ['input', 'textarea']) ) { applyNative(element, 'value', newValue)