mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +00:00
LibJS/Tests: Set failing bytecode tests as xfail when in bytecode mode
This should allow us to enable running test-js in bytecode mode in CI.
This commit is contained in:
parent
9b66e87bd8
commit
d766014787
17 changed files with 145 additions and 110 deletions
|
@ -40,7 +40,7 @@ describe("normal behavior", () => {
|
|||
expect(passed).toBeTrue();
|
||||
});
|
||||
|
||||
test("value from async module", () => {
|
||||
test.xfailIf(isBytecodeInterpreterEnabled(), "value from async module", () => {
|
||||
const shadowRealm = new ShadowRealm();
|
||||
const promise = shadowRealm.importValue("./async-module.mjs", "foo");
|
||||
expect(promise).toBeInstanceOf(Promise);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue