From 106ea9f6749c10fe32ee934b7680f13b119d6937 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 4 Dec 2018 21:51:15 +0000 Subject: Fix eslint errors in tests --- test/docx/body-reader.tests.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'test/docx/body-reader.tests.js') diff --git a/test/docx/body-reader.tests.js b/test/docx/body-reader.tests.js index a458834..bcedcee 100644 --- a/test/docx/body-reader.tests.js +++ b/test/docx/body-reader.tests.js @@ -503,7 +503,7 @@ var booleanRunProperties = [ {name: "isUnderline", tagName: "w:u"}, {name: "isItalic", tagName: "w:i"}, {name: "isStrikethrough", tagName: "w:strike"}, - {name: "isSmallCaps", tagName: "w:smallCaps"}, + {name: "isSmallCaps", tagName: "w:smallCaps"} ]; booleanRunProperties.forEach(function(runProperty) { @@ -1250,13 +1250,6 @@ function runOfText(text) { return new XmlElement("w:r", {}, [textXml]); } -function assertImageBuffer(element, expectedImageBuffer) { - return element.read() - .then(function(readValue) { - assert.equal(readValue, expectedImageBuffer); - }); -} - function hyperlinkRelationship(relationshipId, target) { return { relationshipId: relationshipId, -- cgit v1.2.3