aboutsummaryrefslogtreecommitdiff
path: root/test/docx/docx-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/docx-reader.tests.js
parent97f7d7d63d48e84c62d4d6dec16064feb2aebe6b (diff)
Fix eslint errors in tests
Diffstat (limited to 'test/docx/docx-reader.tests.js')
-rw-r--r--test/docx/docx-reader.tests.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/docx/docx-reader.tests.js b/test/docx/docx-reader.tests.js
index de36216..db9faff 100644
--- a/test/docx/docx-reader.tests.js
+++ b/test/docx/docx-reader.tests.js
@@ -88,7 +88,6 @@ test("error is thrown when main document part does not exist", function() {
});
-
test("part paths", {
"main document part is found using package relationships": function() {
var relationships = xml.element("r:Relationships", {}, [
@@ -120,23 +119,23 @@ test("part paths", {
[
{
name: "comments",
- type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",
+ type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments"
},
{
name: "endnotes",
- type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",
+ type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes"
},
{
name: "footnotes",
- type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",
+ type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes"
},
{
name: "numbering",
- type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",
+ type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering"
},
{
name: "styles",
- type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",
+ type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"
}
].forEach(function(options) {
test(options.name + " part is found using main document relationships", function() {