From ee3f5fcd4ee9b655b01c5f1d248cba01f5694b62 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 7 Feb 2015 18:26:46 +0000 Subject: Add disabled test for consecutive bold runs --- tests/document-to-html.tests.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/document-to-html.tests.js b/tests/document-to-html.tests.js index 17fdb27..3f50cbd 100644 --- a/tests/document-to-html.tests.js +++ b/tests/document-to-html.tests.js @@ -140,6 +140,18 @@ describe('DocumentConverter', function() { }); }); + // TODO + //~ test('consecutive bold runs are wrapped in a single element', function() { + //~ var paragraph = new documents.Paragraph([ + //~ runOfText("Hello", {isBold: true}), + //~ runOfText(".", {isBold: true}) + //~ ]); + //~ var converter = new DocumentConverter(); + //~ return converter.convertToHtml(paragraph).then(function(result) { + //~ assert.equal(result.value, "

Hello.

"); + //~ }); + //~ }); + test('underline runs are ignored by default', function() { var run = runOfText("Hello.", {isUnderline: true}); var converter = new DocumentConverter(); -- cgit v1.2.3