StephenGrider / EthereumCasts

Companion repo to an Ethereum/Solidity course on Udemy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ganache provider changes are missing from test file

cpalanzo opened this issue · 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);