Skip to content

Commit e3fd8ab

Browse files
committed
fix: ignore cssText for coverage
1 parent 3631526 commit e3fd8ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/updaters/tag.js

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export default function updateTag({ attribute, tagIDKeyName } = {}, type, tags,
3939
newElement.innerHTML = tag.innerHTML
4040
} else if (attr === 'cssText') {
4141
if (newElement.styleSheet) {
42+
/* istanbul ignore next */
4243
newElement.styleSheet.cssText = tag.cssText
4344
} else {
4445
newElement.appendChild(document.createTextNode(tag.cssText))

0 commit comments

Comments
 (0)