From 7b7ce0d563ddc07172b0f241a5c3baf344f256e8 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 13 Oct 2015 23:29:41 +0100 Subject: Collapse similar HTML elements --- tests/mammoth.tests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/mammoth.tests.js') diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js index 10b95ef..34adb09 100644 --- a/tests/mammoth.tests.js +++ b/tests/mammoth.tests.js @@ -280,21 +280,21 @@ describe('mammoth', function() { test('underline is ignored by default', function() { var docxPath = path.join(__dirname, "test-data/underline.docx"); return mammoth.convertToHtml({path: docxPath}).then(function(result) { - assert.equal(result.value, '

The Sunset Tree

'); + assert.equal(result.value, '

The Sunset Tree

'); }); }); 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, '

The Sunset Tree

'); + assert.equal(result.value, '

The Sunset Tree

'); }); }); 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) { - assert.equal(result.value, '

The Sunset Tree

'); + assert.equal(result.value, '

The Sunset Tree

'); }); }); -- cgit v1.2.3