From 29b91168f296662f41bf25167d956515a6f9562e Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 18 Mar 2014 15:06:24 +0000 Subject: Add test for inline images from CLI --- tests/main.tests.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/main.tests.js b/tests/main.tests.js index a97a049..97d56eb 100644 --- a/tests/main.tests.js +++ b/tests/main.tests.js @@ -27,6 +27,13 @@ describe("CLI", function() { }); }); }); + + test("inline images are included in output if writing to single file", function() { + return runMammoth(testPath("tiny-picture.docx")).then(function(result) { + assert.equal(result.stderrOutput, "") + assert.equal(result.output, '

') + }); + }); }); function runMammoth() { -- cgit v1.2.3