X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/7509ad5d22654faa0abd75465de9f3fa632b1f3a..21cd91531dd9c6e88d00da03f6b2f3ad88fb0da0:/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();