We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a91671 commit feb400cCopy full SHA for feb400c
harness/asyncHelpers.js
@@ -72,7 +72,7 @@ assert.throwsAsync = function (expectedErrorConstructor, func, message) {
72
}
73
74
try {
75
- resolve(res.then(
+ resolve(Promise.resolve(res).then(
76
function () {
77
fail(expectation + " but no exception was thrown at all");
78
},
0 commit comments