Skip to content

Commit a856694

Browse files
committedJan 18, 2024
fix: console warn removed
console.warn(element) is displaying a lot stuff, in some context like HappyDom this display a lot stuff because a recursive console output of the entire Dom.
1 parent 756cec3 commit a856694

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/utils.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ function lookupGetter(object, prop) {
175175
object = getPrototypeOf(object);
176176
}
177177

178-
function fallbackValue(element) {
179-
console.warn('fallback value for', element);
178+
function fallbackValue() {
180179
return null;
181180
}
182181

0 commit comments

Comments
 (0)
Please sign in to comment.