Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
docxtemplater-image-module
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
npm
docxtemplater-image-module
Commits
520fff6b
Commit
520fff6b
authored
Feb 28, 2017
by
Edgar HIPP
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for inline image
parent
ab188117
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
es6/test.js
+9
-0
examples/expectedInline.docx
+0
-0
examples/imageInlineExample.docx
+0
-0
No files found.
es6/test.js
View file @
520fff6b
...
@@ -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"
;
...
...
examples/expectedInline.docx
0 → 100644
View file @
520fff6b
File added
examples/imageInlineExample.docx
View file @
520fff6b
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment