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

LibJS: Uncomment passing tests

This commit is contained in:
Daniel Bertalan 2023-08-08 09:53:14 +02:00 committed by Jelle Raaijmakers
parent 5f0d3c083f
commit 7ac6af1998
2 changed files with 4 additions and 5 deletions

View file

@ -10,8 +10,7 @@ test("parse optional-chaining", () => {
expect("a?.b?.``").not.toEval();
expect("new Foo?.bar").not.toEval();
expect("new (Foo?.bar)").toEval();
// FIXME: This should pass.
// expect("(new Foo)?.bar").toEval();
expect("(new Foo)?.bar").toEval();
});
test("evaluate optional-chaining", () => {