We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Test
1 parent dc64c08 commit f6d30cfCopy full SHA for f6d30cf
lib/test.js
@@ -221,7 +221,7 @@ function wrapFunction(original) {
221
var args = $slice(arguments);
222
var completed = false;
223
try {
224
- var returned = original ? bound(this, arguments) : void undefined;
+ var returned = bound ? bound(this, arguments) : void undefined;
225
$push(calls, { args: args, receiver: this, returned: returned });
226
completed = true;
227
return returned;
0 commit comments