Code coverage for Solidity smart-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
solidity-coverage/test/sources/js/testrpc-options.js

10 lines
289 B

const Simple = artifacts.require('Simple');
contract('Simple', accounts => {
it('should load with ~ expected balance', async function(){
let balance = await web3.eth.getBalance(accounts[0]);
balance = web3.utils.fromWei(balance);
assert(parseInt(balance) >= 776)
});
});