EthereumCasts
EthereumCasts copied to clipboard
Ganache provider changes are missing from test file
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);