diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-04-27 15:58:59 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-04-27 15:58:59 +0100 |
| commit | 869d5b2a725db8e41dc447227468c173d5292c18 (patch) | |
| tree | 176267563f49df0d6804437c19dbbf62134569d2 /tests/mammoth.tests.js | |
| parent | e9d9ab3c03b6018ba8b63335e6aa2b1809a188a5 (diff) | |
Remove mammoth.styleMapping
Diffstat (limited to 'tests/mammoth.tests.js')
| -rw-r--r-- | tests/mammoth.tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js index cc08565..0c9519e 100644 --- a/tests/mammoth.tests.js +++ b/tests/mammoth.tests.js @@ -35,12 +35,12 @@ describe('mammoth', function() { }); }); - test('style map can be expressed as array of styles', function() { + test('style map can be expressed as array of style mappings', function() { var docxFile = createFakeDocxFile({ "word/document.xml": testData("simple/word/document.xml") }); var options = { - styleMap: [mammoth.styleMapping("p => h1")] + styleMap: ["p => h1"] }; return mammoth.convertToHtml({file: docxFile}, options).then(function(result) { assert.equal("<h1>Hello.</h1>", result.value); |
