diff options
Diffstat (limited to 'tests/documents.tests.js')
| -rw-r--r-- | tests/documents.tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/documents.tests.js b/tests/documents.tests.js index b69829f..06faf10 100644 --- a/tests/documents.tests.js +++ b/tests/documents.tests.js @@ -63,7 +63,7 @@ describe('DocumentConverter', function() { paragraphOfText("Hello.", "Heading1"), ]); var converter = new DocumentConverter({ - styleMap: { + paragraphStyleMap: { "Heading1": styles.topLevelElement("h1") } }); @@ -77,7 +77,7 @@ describe('DocumentConverter', function() { paragraphOfText("Hello.", "Heading1") ]); var converter = new DocumentConverter({ - styleMap: { + paragraphStyleMap: { "Heading1": styles.elements(["h1", "span"]) } }); |
