summaryrefslogtreecommitdiffstats
path: root/test/mock.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/mock.js')
-rw-r--r--test/mock.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mock.js b/test/mock.js
index f562fa9..919a992 100644
--- a/test/mock.js
+++ b/test/mock.js
@@ -35,11 +35,13 @@ function setupFS(fs, rootFolder, files) {
// Setup a mock book for testing using a map of files
function setupBook(files, opts) {
opts = opts || {};
+ opts.log = function() { };
return Q.nfcall(tmp.dir.bind(tmp)).get(0)
.then(function(folder) {
opts.fs = fs;
opts.root = folder;
+
return setupFS(fs, folder, files);
})
.then(function(fs) {