X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/f2a4c98c8681e58fb9ee794129ce66ec0b06f0be..6757e2f4fe80bfdc197d4963c464bf2b3a47f66b:/src/editor/modules/documentCanvas/canvas/canvas.test.js 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],