X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/de48f6605b47f51523959d40cd6ba53e1b404b3f..75d2183aafd4b2d3e94c17f6c3c8ee0d8a4738e4:/src/wlxml/wlxml.test.js?ds=sidebyside diff --git a/src/wlxml/wlxml.test.js b/src/wlxml/wlxml.test.js index bb5101f..936093e 100644 --- a/src/wlxml/wlxml.test.js +++ b/src/wlxml/wlxml.test.js @@ -258,10 +258,11 @@ describe('WLXMLDocument', 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; - // spr+ a expect dotyczacy object api? }); it('allows adding method to an ElementNode of specific class', function() {