X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/898f8bf5c4bf5e553994ee7d7cf320fcc0d1bc12..dec5a3d8b3a4cc70a9b2bc7bc1305ba0ae11a369:/src/wlxml/extensions/list/list.test.js?ds=inline diff --git a/src/wlxml/extensions/list/list.test.js b/src/wlxml/extensions/list/list.test.js index 396600b..2d47778 100644 --- a/src/wlxml/extensions/list/list.test.js +++ b/src/wlxml/extensions/list/list.test.js @@ -405,7 +405,7 @@ describe('Lists extension', function() { var test = doc.extractItems({item1: nestedListItem, item2: nestedListItem, merge: false}); - expect(test).to.equal(true, 'extraction status ok'); + expect(test.sameNode(nestedListItem)).to.equal(true, 'first item returned'); var sectionContents = section.contents(), extractedItem = sectionContents[1];