diff --git a/test/unit/templatizer-elements.html b/test/unit/templatizer-elements.html index da4fce0d61..d0c384bad0 100644 --- a/test/unit/templatizer-elements.html +++ b/test/unit/templatizer-elements.html @@ -129,6 +129,8 @@ }); var parent = Polymer.dom(this).parentNode; Polymer.dom(parent).appendChild(this.instance.root); + // Ensure templatizer class does not leak reference to dataHost + assert.notOk(this.ctor.prototype._template.dataHost, 'templatizer class should not leak reference to dataHost'); } }); @@ -196,6 +198,8 @@ }); var parent = Polymer.dom(this).parentNode; Polymer.dom(parent).appendChild(this.instance.root); + // Ensure templatizer class does not leak reference to dataHost + assert.notOk(this.ctor.prototype._template.dataHost, 'templatizer class should not leak reference to dataHost'); } });