We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38a019a commit bc2e15eCopy full SHA for bc2e15e
test/index.js
@@ -77,8 +77,15 @@ describe('GET /status', function() {
77
if(err) {
78
throw err;
79
}
80
- res.body.should.have.property('status', 'ok');
81
- res.body.should.have.property('stats');
+ try {
+ res.body.should.have.property('status', 'ok');
82
+ res.body.should.have.property('pending');
83
+ res.body.should.have.property('processing');
84
+ res.body.should.have.property('total');
85
+ }
86
+ catch(err) {
87
+ return done(err);
88
89
server.queue.remove(done);
90
});
91
0 commit comments