Skip to content

Commit

Permalink
falsy error rejection test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdeckers committed Nov 10, 2017
1 parent 67e0ed5 commit 6a69afa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/reply-error.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,9 @@ test('Error.status property support', t => {

test('Support rejection with values that are not Error instances', t => {
const objs = [
0,
'',
[],
{},
null,
undefined,
Expand Down

0 comments on commit 6a69afa

Please sign in to comment.