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