diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-03-28 12:54:28 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-03-28 13:47:37 +0100 |
| commit | 4a61edf08990a0ed8c243f9001d9069d7a644a50 (patch) | |
| tree | f6ecb4b3a1f6c54b907f02596dcb7fd036499fc5 /tests/document-to-html.tests.js | |
| parent | b4a2cfa279ac777f1c331ffcf46da6f9394c5bf3 (diff) | |
Remove support for convertUnderline
Diffstat (limited to 'tests/document-to-html.tests.js')
| -rw-r--r-- | tests/document-to-html.tests.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/document-to-html.tests.js b/tests/document-to-html.tests.js index fae4da5..7760b17 100644 --- a/tests/document-to-html.tests.js +++ b/tests/document-to-html.tests.js @@ -1,7 +1,6 @@ var assert = require("assert"); var promises = require("../lib/promises"); -var mammoth = require("../lib"); var documents = require("../lib/documents"); var DocumentConverter = require("../lib/document-to-html").DocumentConverter; var test = require("./testing").test; @@ -192,16 +191,6 @@ describe('DocumentConverter', function() { }); }); - test('underline runs can be wrapped in <u> tags using convertUnderline option', function() { - var run = runOfText("Hello.", {isUnderline: true}); - var converter = new DocumentConverter({ - convertUnderline: mammoth.underline.element("u") - }); - return converter.convertToHtml(run).then(function(result) { - assert.equal(result.value, "<u>Hello.</u>"); - }); - }); - test('underline runs can be mapped using style mapping', function() { var run = runOfText("Hello.", {isUnderline: true}); var converter = new DocumentConverter({ |
