Skip to content

Commit

Permalink
fix istanbul ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
ph-fritsche committed Oct 18, 2021
1 parent 69c3d84 commit 36c1a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/document/fireInputEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,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'])
) {
setUIValue(element, newValue)
Expand Down

0 comments on commit 36c1a81

Please sign in to comment.