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]; } };