mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:18:12 +00:00
LibJS/Tests: Set failing bytecode tests as xfail when in bytecode mode
This should allow us to enable running test-js in bytecode mode in CI.
This commit is contained in:
parent
9b66e87bd8
commit
d766014787
17 changed files with 145 additions and 110 deletions
|
@ -221,13 +221,13 @@ describe("naming of anon functions", () => {
|
|||
expect({ func() {} }.func.name).toBe("func");
|
||||
});
|
||||
|
||||
test("getter has name", () => {
|
||||
test.xfailIf(isBytecodeInterpreterEnabled(), "getter has name", () => {
|
||||
expect(Object.getOwnPropertyDescriptor({ get func() {} }, "func").get.name).toBe(
|
||||
"get func"
|
||||
);
|
||||
});
|
||||
|
||||
test("setter has name", () => {
|
||||
test.xfailIf(isBytecodeInterpreterEnabled(), "setter has name", () => {
|
||||
expect(Object.getOwnPropertyDescriptor({ set func(v) {} }, "func").set.name).toBe(
|
||||
"set func"
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue