X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/da4ff24177c122a81ecae0e7693ffe2a3276ba1a..e104b4b87dc39066cbe397984c6f0e6bcc0459f8:/src/wlxml/wlxml.test.js?ds=sidebyside diff --git a/src/wlxml/wlxml.test.js b/src/wlxml/wlxml.test.js index 7c69bdb..2b495a8 100644 --- a/src/wlxml/wlxml.test.js +++ b/src/wlxml/wlxml.test.js @@ -185,17 +185,10 @@ describe('WLXMLDocument', function() { }); describe('Extension', function() { - var doc, extension, elementNode, textNode, testClassNode; + var doc, extension, testClassNode; beforeEach(function() { doc = getDocumentFromXML('
Alice
'); - elementNode = doc.root; - textNode = doc.root.contents()[0]; - testClassNode = doc.root.contents('.test_class'); - extension = {}; - - expect(testClassNode.object).to.be.undefined; - }); it('allows adding method to an ElementNode of specific class', function() {