aboutsummaryrefslogtreecommitdiff
path: root/tests/docx/document-xml-reader.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-01-19 23:05:45 +0000
committerMichael Williamson <mike@zwobble.org>2015-01-19 23:05:45 +0000
commit965bd9513da033b9804af8ec29c7fa609a84512c (patch)
tree28027622b24a00bb44fd4a1e9c91462493d78989 /tests/docx/document-xml-reader.tests.js
parent58cae6030e51481ffb462e52ab6aeb479e0a705d (diff)
Add support for endnotes
Diffstat (limited to 'tests/docx/document-xml-reader.tests.js')
-rw-r--r--tests/docx/document-xml-reader.tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docx/document-xml-reader.tests.js b/tests/docx/document-xml-reader.tests.js
index 778bf06..86c0fcb 100644
--- a/tests/docx/document-xml-reader.tests.js
+++ b/tests/docx/document-xml-reader.tests.js
@@ -361,7 +361,7 @@ describe("convertXmlToDocument: ", function() {
var documentXml = new XmlElement("w:document", {}, [bodyXml]);
var document = convertXmlToDocumentValue({root: documentXml}, {footnotes: footnotes});
- var footnote = document.notes.findFootnoteById("4");
+ var footnote = document.notes.resolve({noteType: "footnote", noteId: "4"});
assert.deepEqual(footnote.id, "4");
assert.deepEqual(footnote.body[0].type, "paragraph");
});