X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/f2a4c98c8681e58fb9ee794129ce66ec0b06f0be..de48f6605b47f51523959d40cd6ba53e1b404b3f:/src/editor/modules/documentCanvas/canvas/canvas.test.js?ds=inline diff --git a/src/editor/modules/documentCanvas/canvas/canvas.test.js b/src/editor/modules/documentCanvas/canvas/canvas.test.js index ceccda3..2ee505d 100644 --- a/src/editor/modules/documentCanvas/canvas/canvas.test.js +++ b/src/editor/modules/documentCanvas/canvas/canvas.test.js @@ -61,6 +61,7 @@ describe('Handling changes to the document', function() { }); describe('Listening to document changes', function() { + it('Handling element node moved', function() { var doc = getDocumentFromXML('
'), a = doc.root.contents()[0], @@ -73,6 +74,7 @@ describe('Listening to document changes', function() { expect(sectionChildren[0].getWlxmlTag()).to.equal('b'); expect(sectionChildren[1].getWlxmlTag()).to.equal('a'); }); + it('Handling text node moved', function() { var doc = getDocumentFromXML('
Alice
'), a = doc.root.contents()[0],