X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/7a67ffc356936a4eec4243df03fab2ad1c66c9b9..2613031b220940f47a67d3536b5cc5581fbf155a:/src/wlxml/wlxml.test.js diff --git a/src/wlxml/wlxml.test.js b/src/wlxml/wlxml.test.js index 3d1df03..9f846f6 100644 --- a/src/wlxml/wlxml.test.js +++ b/src/wlxml/wlxml.test.js @@ -6,7 +6,7 @@ define([ 'use strict'; /* jshint expr:true */ -/* global it, describe */ +/* global it, describe, beforeEach */ var expect = chai.expect; @@ -103,6 +103,8 @@ describe('WLXMLDocument', function() { }); describe('White space handling', function() { + /* globals Node */ + it('ignores white space surrounding block elements', function() { var node = nodeFromXML('
'), contents = node.contents();