aboutsummaryrefslogtreecommitdiff
path: root/tests/mammoth.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-03-28 12:54:28 +0100
committerMichael Williamson <mike@zwobble.org>2016-03-28 13:47:37 +0100
commit4a61edf08990a0ed8c243f9001d9069d7a644a50 (patch)
treef6ecb4b3a1f6c54b907f02596dcb7fd036499fc5 /tests/mammoth.tests.js
parentb4a2cfa279ac777f1c331ffcf46da6f9394c5bf3 (diff)
Remove support for convertUnderline
Diffstat (limited to 'tests/mammoth.tests.js')
-rw-r--r--tests/mammoth.tests.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js
index 0f0ad53..9d057f6 100644
--- a/tests/mammoth.tests.js
+++ b/tests/mammoth.tests.js
@@ -284,13 +284,6 @@ describe('mammoth', function() {
});
});
- test('underline can be configured with convertUnderline option', function() {
- var docxPath = path.join(__dirname, "test-data/underline.docx");
- return mammoth.convertToHtml({path: docxPath}, {convertUnderline: mammoth.underline.element("em")}).then(function(result) {
- assert.equal(result.value, '<p><strong>The <em>Sunset</em> Tree</strong></p>');
- });
- });
-
test('underline can be configured with style mapping', function() {
var docxPath = path.join(__dirname, "test-data/underline.docx");
return mammoth.convertToHtml({path: docxPath}, {styleMap: "u => em"}).then(function(result) {