diff options
Diffstat (limited to 'test/es2017/asyncFunctions.js')
-rw-r--r-- | test/es2017/asyncFunctions.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/es2017/asyncFunctions.js b/test/es2017/asyncFunctions.js index 680725b..59c0df8 100644 --- a/test/es2017/asyncFunctions.js +++ b/test/es2017/asyncFunctions.js @@ -656,7 +656,10 @@ module.exports = function () { throw thrown; }); fn(1, (err, result) => { - expect(result).to.eql({error: thrown}); + expect(result).to.eql({ + error: thrown, + value: undefined + }); done(err); }) }); |