3 'modules/documentCanvas/canvas/canvas',
4 'modules/documentCanvas/canvas/documentElement',
5 'modules/documentCanvas/canvas/utils',
7 ], function(chai, canvas, documentElement, utils, wlxml) {
11 var expect = chai.expect;
14 var nodeFromXML = function(xml) {
15 return wlxml.WLXMLElementNodeFromXML(xml);
19 describe('new Canvas', function() {
20 it('abc', function() {
21 var doc = wlxml.WLXMLDocumentFromXML('<section>Alice <span>has</span> a cat!</div>'),
22 c = canvas.fromXML2(doc);
24 expect(c.doc().children()).to.have.length(3)