From 0da53e9c8ad8a967753ac06dc1c23302c7956017 Mon Sep 17 00:00:00 2001 From: Johnny Estilles Date: Sun, 19 Apr 2015 12:37:07 +0800 Subject: [PATCH] test: added missing done() callback on .catch() --- test/changelog.spec.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/changelog.spec.js b/test/changelog.spec.js index 7335250..00a51ab 100644 --- a/test/changelog.spec.js +++ b/test/changelog.spec.js @@ -125,7 +125,8 @@ describe('changelog.js', function() { }) .catch(function(err){ console.log('error', err); - }) + done(err); + }); }); it('should read log since specified tag if tag is present', function(done) { @@ -142,7 +143,8 @@ describe('changelog.js', function() { }) .catch(function(err){ console.log('error', err); - }) + done(err); + }); }); it('should add the application name', function(done) { @@ -159,9 +161,10 @@ describe('changelog.js', function() { }) .catch(function(err){ console.log('error', err); - }) + done(err); + }); }); }); -}); \ No newline at end of file +});