aboutsummaryrefslogtreecommitdiff
path: root/tests/document-to-html.tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/document-to-html.tests.js')
-rw-r--r--tests/document-to-html.tests.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/document-to-html.tests.js b/tests/document-to-html.tests.js
index a5cf294..63b445d 100644
--- a/tests/document-to-html.tests.js
+++ b/tests/document-to-html.tests.js
@@ -285,8 +285,9 @@ describe('DocumentConverter', function() {
});
test('footnote reference is converted to superscript intra-page link', function() {
- var footnoteReference = new documents.FootnoteReference({
- footnoteId: "4"
+ var footnoteReference = new documents.NoteReference({
+ noteType: "footnote",
+ noteId: "4"
});
var converter = new DocumentConverter({
generateUniquifier: function() { return 42; }
@@ -297,8 +298,9 @@ describe('DocumentConverter', function() {
});
test('footnotes are included after the main body', function() {
- var footnoteReference = new documents.FootnoteReference({
- footnoteId: "4"
+ var footnoteReference = new documents.NoteReference({
+ noteType: "footnote",
+ noteId: "4"
});
var document = new documents.Document(
[new documents.Paragraph([