X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/d18c7b69cbc94bec9a75a4c1e0671e65597b5b24..00c7fb9e5f0a51e841d754cc2707b65db9c2737e:/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],