diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-04-08 20:54:09 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-04-08 20:54:09 +0100 |
| commit | 0695263132193745d7f543fb1a20b63dbfe00075 (patch) | |
| tree | 83677e0fe5037879992fd0dfb4fba63b9b7c70a5 /tests/mammoth.tests.js | |
| parent | f4d7f2e4d6b38485ccdd954a73004b7adfc68e32 (diff) | |
Rename styles module to htmlPaths
Diffstat (limited to 'tests/mammoth.tests.js')
| -rw-r--r-- | tests/mammoth.tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js index f8e799d..e892917 100644 --- a/tests/mammoth.tests.js +++ b/tests/mammoth.tests.js @@ -2,7 +2,7 @@ var assert = require("assert"); var path = require("path"); var mammoth = require("../") -var styles = require("../lib/styles"); +var htmlPaths = require("../lib/html-paths"); var testing = require("./testing"); var test = testing.test; @@ -26,7 +26,7 @@ describe('mammoth', function() { "word/document.xml": testData("simple/word/document.xml") }); var converter = new mammoth.Converter({ - defaultParagraphStyle: styles.topLevelElement("h1") + defaultParagraphStyle: htmlPaths.topLevelElement("h1") }); return converter.convertToHtml(docxFile).then(function(result) { assert.equal("<h1>Hello.</h1>", result.html); |
