summaryrefslogtreecommitdiffstats
path: root/test/helper.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/helper.js')
-rw-r--r--test/helper.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/helper.js b/test/helper.js
index 74f461a..f29b3c7 100644
--- a/test/helper.js
+++ b/test/helper.js
@@ -15,12 +15,16 @@ global.qdone = function qdone(promise, done) {
before(function(done) {
global.book1 = new Book(path.join(__dirname, './fixtures/test1'));
global.book2 = new Book(path.join(__dirname, './fixtures/test2'));
+ global.book3 = new Book(path.join(__dirname, './fixtures/test3'));
qdone(
global.book1.parse()
.then(function() {
return global.book2.parse();
- }),
+ })
+ .then(function() {
+ return global.book3.parse();
+ }),
done
);
});