aboutsummaryrefslogtreecommitdiff
path: root/test/docx/body-reader.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2018-12-04 21:51:15 +0000
committerMichael Williamson <mike@zwobble.org>2018-12-04 21:51:15 +0000
commit106ea9f6749c10fe32ee934b7680f13b119d6937 (patch)
treec9a0200093fbf04aec3ab595d34b909a8915412e /test/docx/body-reader.tests.js
parent97f7d7d63d48e84c62d4d6dec16064feb2aebe6b (diff)
Fix eslint errors in tests
Diffstat (limited to 'test/docx/body-reader.tests.js')
-rw-r--r--test/docx/body-reader.tests.js9
1 files changed, 1 insertions, 8 deletions
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,