Disable large contract test for Bun and Firefox

This commit is contained in:
Sebastian Miasojed
2025-01-29 16:01:56 +01:00
parent f49dcbe2b8
commit ef22770bd3
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -57,7 +57,12 @@ test("should successfully compile valid Solidity code in browser", async ({
test("should successfully compile large valid Solidity code in browser", async ({
page,
browserName,
}) => {
if (browserName === "firefox") {
// Skipping tests with large contracts on Firefox due to out-of-memory issues.
test.skip();
}
await loadTestPage(page);
const standardInput = loadFixture("token.json");
const result = await runWorker(page, standardInput);
+1 -1
View File
@@ -33,7 +33,7 @@ describe("Compile Function Tests", function () {
).to.have.property("bytecode");
});
if (typeof globalThis.Bun == "undefined" || true) {
if (typeof globalThis.Bun == "undefined") {
// Running this test with Bun on a Linux host causes:
// RuntimeError: Out of bounds memory access (evaluating 'getWasmTableEntry(index)(a1, a2, a3, a4, a5)')
// Once this issue is resolved, the test will be re-enabled.