mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 10:09:14 +00:00
LibJS: Uncomment passing tests
This commit is contained in:
parent
5f0d3c083f
commit
7ac6af1998
Notes:
sideshowbarker
2024-07-16 18:06:41 +09:00
Author: https://github.com/BertalanD
Commit: 7ac6af1998
Pull-request: https://github.com/SerenityOS/serenity/pull/20423
Reviewed-by: https://github.com/gmta ✅
2 changed files with 4 additions and 5 deletions
|
@ -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", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue