1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:47:37 +00:00

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
parent 419c21c66f
commit 95059b9549

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];
}