Skip to content

Commit

Permalink
test: fix istanbul ignore (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
ph-fritsche committed Jul 20, 2021
1 parent 276d751 commit 1fd14e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keyboard/shared/fireInputEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1fd14e7

Please sign in to comment.