aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-04-09 12:05:05 +0100
committerMichael Williamson <mike@zwobble.org>2014-04-09 12:05:05 +0100
commit56589f6390459cb7a4aedd1f7e5ce0a518b0f3c7 (patch)
tree74264e152b3f5ba60e1a28b95da6a286bea78209 /tests
parent06cc13300efe79b591690b577a8b2094317ee551 (diff)
Revert "Add prettyPrint option"
This reverts commit 06cc13300efe79b591690b577a8b2094317ee551.
Diffstat (limited to 'tests')
-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 a59ade5..564eb8c 100644
--- a/tests/mammoth.tests.js
+++ b/tests/mammoth.tests.js
@@ -87,11 +87,4 @@ describe('mammoth', function() {
assert.equal(result.value, '<ul><li>Apple</li><li>Banana</li></ul>');
});
});
-
- test('newlines and indentation are used if prettyPrint is true', function() {
- var docxPath = path.join(__dirname, "test-data/simple-list.docx");
- return mammoth.convertToHtml({path: docxPath}, {prettyPrint: true}).then(function(result) {
- assert.equal(result.value, '<ul>\n <li>Apple</li>\n <li>Banana</li>\n</ul>');
- });
- });
})