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.
|
const ContractA = artifacts.require("ContractA");
|
|
|
|
contract("contracta", function(accounts) {
|
|
let instance;
|
|
|
|
before(async () => instance = await ContractA.new())
|
|
|
|
it('sends', async function(){
|
|
await instance.sendFn();
|
|
});
|
|
|
|
it('calls', async function(){
|
|
await instance.callFn();
|
|
})
|
|
});
|
|
|