mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-22 18:43:29 +00:00
Improve tests for multilingual json output
This commit is contained in:
+3
-1
@@ -34,7 +34,9 @@ describe('Book generation', function () {
|
||||
|
||||
it('should correctly generate a multilingual book to json', function(done) {
|
||||
testGeneration(book2, "json", function(output) {
|
||||
|
||||
assert(fs.existsSync(path.join(output, "README.json")));
|
||||
assert(fs.existsSync(path.join(output, "en/README.json")));
|
||||
assert(fs.existsSync(path.join(output, "fr/README.json")));
|
||||
}, done);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user