summaryrefslogtreecommitdiffstats
path: root/test/ebook.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ebook.js')
-rw-r--r--test/ebook.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ebook.js b/test/ebook.js
index e835a6e..b82bb19 100644
--- a/test/ebook.js
+++ b/test/ebook.js
@@ -12,4 +12,10 @@ describe('eBook Generator', function () {
assert(fs.existsSync(path.join(output, "SUMMARY.html")));
}, done);
});
+
+ it('should correctly convert svg images to png', function(done) {
+ testGeneration(books[4], "ebook", function(output) {
+ assert(fs.existsSync(path.join(output, "test.png")));
+ }, done);
+ });
});