From 743ca7a9b10aca9c9ce4e20cc3246558f1eb706e Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 7 Jan 2014 23:04:12 +0000 Subject: Rename mammoth.style to mammoth.styleMapping --- tests/mammoth.tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mammoth.tests.js') diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js index 08270a4..c9f4787 100644 --- a/tests/mammoth.tests.js +++ b/tests/mammoth.tests.js @@ -40,7 +40,7 @@ describe('mammoth', function() { "word/document.xml": testData("simple/word/document.xml") }); var options = { - styleMap: [mammoth.style("p => h1")] + styleMap: [mammoth.styleMapping("p => h1")] }; return mammoth.convertToHtml({file: docxFile}, options).then(function(result) { assert.equal("

Hello.

", result.value); -- cgit v1.2.3