Commit 520fff6b by Edgar HIPP

Add test for inline image

parent ab188117
...@@ -13,6 +13,8 @@ const fileNames = [ ...@@ -13,6 +13,8 @@ const fileNames = [
"imageExample.docx", "imageExample.docx",
"imageHeaderFooterExample.docx", "imageHeaderFooterExample.docx",
"imageLoopExample.docx", "imageLoopExample.docx",
"imageInlineExample.docx",
"expectedInline.docx",
"expectedNoImage.docx", "expectedNoImage.docx",
"expectedHeaderFooter.docx", "expectedHeaderFooter.docx",
"expectedOneImage.docx", "expectedOneImage.docx",
...@@ -76,6 +78,13 @@ function testStart() { ...@@ -76,6 +78,13 @@ function testStart() {
this.loadAndRender(); this.loadAndRender();
}); });
it("should work with inline", function () {
this.name = "imageInlineExample.docx";
this.expectedName = "expectedInline.docx";
this.data = {firefox: "examples/image.png"};
this.loadAndRender();
});
it("should work with centering", function () { it("should work with centering", function () {
this.name = "imageExample.docx"; this.name = "imageExample.docx";
this.expectedName = "expectedCentered.docx"; this.expectedName = "expectedCentered.docx";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment