Skip to content

Commit cc8a8cf

Browse files
committed
Changing the catch block to identify failure on jenkins.
1 parent e12107f commit cc8a8cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test-basic/suggest.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ describe('suggest', function() {
7777
list[2].should.equal('aSuggestC');
7878
done();
7979
})
80-
.catch(done);
80+
.catch(err => {
81+
done(err);
82+
});
8183
});
8284
it('should handle tagged criteria', function(done) {
8385
db.documents.suggest(

0 commit comments

Comments
 (0)