Skip to content

Commit

Permalink
Adds promisify test
Browse files Browse the repository at this point in the history
  • Loading branch information
godu committed May 30, 2018
1 parent 3469af6 commit a26f1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/helper/test/promisify.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test('should return a rejected promise', async t => {
await t.throws(promisify(callbackFunction)());

const throwFunction = function(cb) {
throw new Error();
throw new Error('error');
};

return t.throws(promisify(throwFunction)());
Expand Down

0 comments on commit a26f1dd

Please sign in to comment.