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/account-one.js

10 lines
325 B

const Simple = artifacts.require('Simple');
contract('Simple', () => {
it('should use 0xe7a46b209a65baadc11bf973c0f4d5f19465ae83', async function(){
const simple = await Simple.new()
const result = await simple.test(5);
assert.equal(result.receipt.from, "0xe7a46b209a65baadc11bf973c0f4d5f19465ae83")
});
});