aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-05-06 13:44:29 +0100
committerMichael Williamson <mike@zwobble.org>2013-05-06 13:44:29 +0100
commit0ee1ecbc9fc22b63ca76fce6434f7c976fae77e1 (patch)
tree1bcd7a47892ecead15abd1da2f5d7c4e956471bd /tests
parent4ef34968c720c58c419ee18f0897645049175d7c (diff)
Use standardOptions if no options are specified
Diffstat (limited to 'tests')
-rw-r--r--tests/mammoth.tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js
index 6f348c2..3a7eabb 100644
--- a/tests/mammoth.tests.js
+++ b/tests/mammoth.tests.js
@@ -71,7 +71,7 @@ describe('mammoth', function() {
});
test('simple list is converted to list elements', function() {
- var converter = new mammoth.Converter(mammoth.standardOptions);
+ var converter = new mammoth.Converter();
var docxPath = path.join(__dirname, "test-data/simple-list.docx");
return converter.convertToHtml({path: docxPath}).then(function(result) {
assert.equal(result.value, '<ul><li>Apple</li><li>Banana</li></ul>');