mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07: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
|
@ -207,9 +207,13 @@ describe("in- and exports", () => {
|
|||
expectModulePassed("./anon-func-decl-default-export.mjs");
|
||||
});
|
||||
|
||||
test("can have top level using declarations which trigger at the end of running a module", () => {
|
||||
expectModulePassed("./top-level-dispose.mjs");
|
||||
});
|
||||
test.xfailIf(
|
||||
isBytecodeInterpreterEnabled(),
|
||||
"can have top level using declarations which trigger at the end of running a module",
|
||||
() => {
|
||||
expectModulePassed("./top-level-dispose.mjs");
|
||||
}
|
||||
);
|
||||
|
||||
test("can export default a RegExp", () => {
|
||||
const result = expectModulePassed("./default-regexp-export.mjs");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue