mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-17 08:05:19 +00:00
16 lines
409 B
JavaScript
16 lines
409 B
JavaScript
var path = require('path');
|
|
var _ = require('lodash');
|
|
var assert = require('assert');
|
|
|
|
var fs = require("fs");
|
|
var fsUtil = require("../lib/utils/fs");
|
|
|
|
|
|
describe('PDF Generator', function () {
|
|
it('should correctly generate a pdf', function(done) {
|
|
testGeneration(books[1], "pdf", function(output) {
|
|
assert(fs.existsSync(path.join(output, "book.pdf")));
|
|
}, done);
|
|
});
|
|
});
|