diff --git a/js/e2e/web.test.js b/js/e2e/web.test.js index 652ede6..020e8c9 100644 --- a/js/e2e/web.test.js +++ b/js/e2e/web.test.js @@ -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); diff --git a/js/tests/node.test.mjs b/js/tests/node.test.mjs index 0765df9..ec93a35 100644 --- a/js/tests/node.test.mjs +++ b/js/tests/node.test.mjs @@ -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.