diff --git a/test/unit/template-stamp.html b/test/unit/template-stamp.html index 0fb0455100..e5fe58a764 100644 --- a/test/unit/template-stamp.html +++ b/test/unit/template-stamp.html @@ -74,7 +74,7 @@ document.body.appendChild(el); let content = el.constructor._contentForTemplate(el.dom.$.nestedTemplate); assert.isTrue(content instanceof DocumentFragment); - assert.equal(content.ownerDocument, el.dom.$.nestedTemplate.content.ownerDocument); + assert.notOk(content.ownerDocument.defaultView); assert.equal(content.firstChild.getAttribute('on-click'), null); document.body.removeChild(el); });