1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 18:57:34 +00:00

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.
This commit is contained in:
Daniel Bertalan 2023-08-08 13:28:02 +02:00 committed by Jelle Raaijmakers
parent 7ac6af1998
commit fb305b66c2

View file

@ -202,8 +202,7 @@ describe("await cannot be used in class static init blocks", () => {
}); });
describe("await thenables", () => { describe("await thenables", () => {
// FIXME: This test crashes for AST, and fails for bytecode. test.xfail("async returning a thanable variable without fulfilling", () => {
test.skip("async returning a thanable variable without fulfilling", () => {
let isCalled = false; let isCalled = false;
const obj = { const obj = {
then() { then() {