From fb305b66c2619798d5335b4d7ac65104516273c8 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Tue, 8 Aug 2023 13:28:02 +0200 Subject: [PATCH] LibJS: Enable `await` test that used to crash in AST mode Now that the AST interpreter has been removed, this can be a simple XFAIL. --- Userland/Libraries/LibJS/Tests/syntax/async-await.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Userland/Libraries/LibJS/Tests/syntax/async-await.js b/Userland/Libraries/LibJS/Tests/syntax/async-await.js index a561b7e426..47e0aea3d7 100644 --- a/Userland/Libraries/LibJS/Tests/syntax/async-await.js +++ b/Userland/Libraries/LibJS/Tests/syntax/async-await.js @@ -202,8 +202,7 @@ describe("await cannot be used in class static init blocks", () => { }); describe("await thenables", () => { - // FIXME: This test crashes for AST, and fails for bytecode. - test.skip("async returning a thanable variable without fulfilling", () => { + test.xfail("async returning a thanable variable without fulfilling", () => { let isCalled = false; const obj = { then() {