summaryrefslogtreecommitdiff
path: root/test/es2017/asyncFunctions.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/es2017/asyncFunctions.js')
-rw-r--r--test/es2017/asyncFunctions.js5
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);
})
});