X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/2d132ea97a8773dcb5d9f077718698996cf1b320..422314851c0b7ce1f0a5209ca09960a47856d173:/src/smartxml/smartxml.test.js diff --git a/src/smartxml/smartxml.test.js b/src/smartxml/smartxml.test.js index 6d39fbd..2198795 100644 --- a/src/smartxml/smartxml.test.js +++ b/src/smartxml/smartxml.test.js @@ -52,6 +52,18 @@ describe.only('smartxml', function() { expect(node1.contents()[0].sameNode(node2)).to.be.true; }); + it('unwraps element node contents', function() { + var node = elementNodeFromXML('