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 19, 2021
1 parent 8c5b9ac commit 4f942a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/edit/fireInputEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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 4f942a1

Please sign in to comment.