mirror of https://github.com/embarklabs/embark.git
fix contract app test by increasing gas
This commit is contained in:
parent
1bc967c6d1
commit
1201879bdc
|
@ -7,6 +7,7 @@ const Web3 = require('web3');
|
|||
|
||||
const Reporter = require('./reporter');
|
||||
|
||||
const GAS_LIMIT = 6000000;
|
||||
const JAVASCRIPT_TEST_MATCH = /^.+\.js$/i;
|
||||
const TEST_TIMEOUT = 15000; // 15 seconds in milliseconds
|
||||
|
||||
|
@ -130,7 +131,7 @@ class MochaTestRunner {
|
|||
compiledContracts[contract.className] = {};
|
||||
}
|
||||
instance.options.from = accounts[0];
|
||||
instance.options.gas = 900000;
|
||||
instance.options.gas = GAS_LIMIT;
|
||||
Object.setPrototypeOf(compiledContracts[contract.className], instance);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue