Skip to content

Commit f6d30cf

Browse files
committedJan 13, 2024
[Refactor] Test: a more precise check
1 parent dc64c08 commit f6d30cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function wrapFunction(original) {
221221
var args = $slice(arguments);
222222
var completed = false;
223223
try {
224-
var returned = original ? bound(this, arguments) : void undefined;
224+
var returned = bound ? bound(this, arguments) : void undefined;
225225
$push(calls, { args: args, receiver: this, returned: returned });
226226
completed = true;
227227
return returned;

0 commit comments

Comments
 (0)
Please sign in to comment.