Skip to content

Commit ed3f688

Browse files
committed
fix: length assignment
1 parent cb91eed commit ed3f688

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/unit/api.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ describe('wrapper API', () => {
151151
// Place the callback at the position we want to see it in
152152
args[callbackPosition] = 'callback';
153153
// truncate the array
154-
args.length = functionLength - (argumentDecrement - 1);
155154
const argsPassedToDriver = args.slice(0, callbackPosition);
156155

157156
resolveSuite.push(() =>

0 commit comments

Comments
 (0)