dom-testing-library
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -8,3 +8,3 @@ 'use strict'; | ||
return Array.from(node.childNodes).filter(function (child) { | ||
return child.nodeType === Node.TEXT_NODE && Boolean(child.textContent); | ||
return child.nodeType === window.Node.TEXT_NODE && Boolean(child.textContent); | ||
}).map(function (c) { | ||
@@ -11,0 +11,0 @@ return c.textContent; |
@@ -61,3 +61,3 @@ 'use strict'; | ||
timer = setTimeout(onTimeout, timeout); | ||
observer = new MutationObserver(onMutation); | ||
observer = new window.MutationObserver(onMutation); | ||
observer.observe(container, mutationObserverOptions); | ||
@@ -64,0 +64,0 @@ if (callback !== undefined) { |
{ | ||
"name": "dom-testing-library", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Simple and complete DOM testing utilities that encourage good testing practices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
406412