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
Notes: sideshowbarker 2024-07-17 07:14:09 +09:00

View file

@ -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() {