From d69d193fa14d6aeafca9da1c8927cf033be8401c Mon Sep 17 00:00:00 2001 From: Francisco Presencia Date: Sun, 19 Jan 2020 11:06:08 +0900 Subject: [PATCH] Allow for non-html children --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 358f52d..69bc311 100644 --- a/src/index.js +++ b/src/index.js @@ -26,7 +26,7 @@ const ReactJSDOM = { global[prop] = origGlobals[prop]; }); - return container.children[0]; + return container.childNodes[0]; } };