Skip to content

Commit

Permalink
make before hook more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
lipp committed Jul 22, 2016
1 parent 567ae70 commit bab611d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/doc-worker_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ describe('The doc-worker module', function () {
getRepoEvents.yields(null, [])
inbox = new Bull('inbox', env.redis.port, env.redis.host)
failed = new Bull('failed', env.redis.port, env.redis.host)
inbox.clean(1).then(function () {
failed.clean(1).then(function () {
inbox.clean(200).then(function () {
console.log('inbox queue clean')
failed.clean(200).then(function () {
console.log('failed queue clean')
docWorker.init(tmpPath, done)
})
})
Expand Down

0 comments on commit bab611d

Please sign in to comment.