aboutsummaryrefslogtreecommitdiff
path: root/test/docx/comments-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/comments-reader.tests.js
parent97f7d7d63d48e84c62d4d6dec16064feb2aebe6b (diff)
Fix eslint errors in tests
Diffstat (limited to 'test/docx/comments-reader.tests.js')
-rw-r--r--test/docx/comments-reader.tests.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/docx/comments-reader.tests.js b/test/docx/comments-reader.tests.js
index 0b3c0ce..668ee19 100644
--- a/test/docx/comments-reader.tests.js
+++ b/test/docx/comments-reader.tests.js
@@ -26,7 +26,6 @@ test('ID and body of comment are read', function() {
test('when optional attributes of comment are missing then they are read as null', function() {
- var body = [xml.element("w:p")];
var comment = readComment(xml.element("w:comments", {}, [
xml.element("w:comment", {"w:id": "1"})
]));
@@ -36,7 +35,6 @@ test('when optional attributes of comment are missing then they are read as null
test('when optional attributes of comment are blank then they are read as null', function() {
- var body = [xml.element("w:p")];
var comment = readComment(xml.element("w:comments", {}, [
xml.element("w:comment", {"w:id": "1", "w:author": " ", "w:initials": " "})
]));