LibJS/Tests: Enable Proxy handler apply() thisArg test that now passes

This commit is contained in:
Linus Groh 2021-08-13 23:57:33 +01:00
commit 95059b9549
Notes: sideshowbarker 2024-07-18 07:00:38 +09:00

View file

@ -14,7 +14,7 @@ describe("[[Call]] trap normal behavior", () => {
apply(target, this_, arguments_) {
expect(target).toBe(f);
// FIXME: `this_` is currently `handler`
// expect(this_).toBeUndefined();
expect(this_).toBeUndefined();
if (arguments_[2]) {
return arguments_[0] * arguments_[1];
}