mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
Base+LibJS+LibWeb: Make prettier clean
Also use "// prettier-ignore" comments where necessary rather than excluding whole files (via .prettierignore).
This commit is contained in:
parent
76239f89c2
commit
5122f98198
Notes:
sideshowbarker
2024-07-19 00:33:17 +09:00
Author: https://github.com/linusg
Commit: 5122f98198
Pull-request: https://github.com/SerenityOS/serenity/pull/4570
24 changed files with 100 additions and 79 deletions
|
@ -42,11 +42,14 @@ describe("[[Get]] trap normal behavior", () => {
|
|||
});
|
||||
|
||||
test("custom receiver value", () => {
|
||||
let p = new Proxy({}, {
|
||||
get(target, property, receiver) {
|
||||
return receiver;
|
||||
},
|
||||
});
|
||||
let p = new Proxy(
|
||||
{},
|
||||
{
|
||||
get(target, property, receiver) {
|
||||
return receiver;
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
expect(Reflect.get(p, "foo", 42)).toBe(42);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue