summaryrefslogtreecommitdiffstats
path: root/test/helper.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-23 18:03:15 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-23 18:03:15 +0100
commit112782d11837428c260211bb3afeb3263e479593 (patch)
tree3288c6972ab6d769ccbf8aade56ef6188c1c1761 /test/helper.js
parentb88b4a0578c28af78a01a28591772f94d0dfe82e (diff)
downloadgitbook-112782d11837428c260211bb3afeb3263e479593.zip
gitbook-112782d11837428c260211bb3afeb3263e479593.tar.gz
gitbook-112782d11837428c260211bb3afeb3263e479593.tar.bz2
Add logs methods to Book object
Diffstat (limited to 'test/helper.js')
-rw-r--r--test/helper.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/helper.js b/test/helper.js
index 7e53151..341b698 100644
--- a/test/helper.js
+++ b/test/helper.js
@@ -41,7 +41,9 @@ before(function(done) {
.sortBy()
.map(function(book) {
if (book.indexOf("test") !== 0) return null;
- return new Book(path.join(__dirname, './fixtures/', book));;
+ return new Book(path.join(__dirname, './fixtures/', book), {
+ logLevel: Book.LOG_LEVELS.DISABLED
+ });
})
.compact()
.value();