mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-14 12:11:02 +00:00
Disable large contract test on firefox
This commit is contained in:
+8
-1
@@ -130,7 +130,14 @@ test('should successfully compile a valid Solidity contract that instantiates an
|
|||||||
expect(output.contracts['fixtures/instantiate.sol'].MainContract.evm).toHaveProperty('bytecode');
|
expect(output.contracts['fixtures/instantiate.sol'].MainContract.evm).toHaveProperty('bytecode');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should successfully compile a valid Solidity contract that instantiates the token contracts in the browser', async ({ page }) => {
|
test('should successfully compile a valid Solidity contract that instantiates the token contracts in the 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);
|
await loadTestPage(page);
|
||||||
const standardInput = loadFixture('instantiate_tokens.json')
|
const standardInput = loadFixture('instantiate_tokens.json')
|
||||||
const result = await runWorker(page, standardInput);
|
const result = await runWorker(page, standardInput);
|
||||||
|
|||||||
Reference in New Issue
Block a user