EthereumCasts icon indicating copy to clipboard operation
EthereumCasts copied to clipboard

Ganache provider changes are missing from test file

Open cpalanzo opened this issue 7 years ago • 0 comments

In EthereumCasts/kickstart/test/Campaign.test.js and in the other test.js files the provider changes are missing - so they don't work...

const provider = ganache.provider(); const myweb3 = new Web3(provider);

and in beforeEach()

CONTRACTNAME.setProvider(provider);

cpalanzo avatar Feb 04 '18 22:02 cpalanzo