New answers tagged

1

I had the same issue for that tutorial looks like once the test is ran it adds an import for react-bootstrap/lib/Breadcrumb. I just removed the import and reran the test and it worked.


0

The metamask.js script seems incorrect. There isn't enough code to test but you have to do something like this const oldProvider = web3.currentProvider; // keep a reference to metamask provider myWeb3 = new Web3(oldProvider); // now you can use myWeb3 instead of web3 If the project is large you may want to replace web3 with myWeb3. global.web3 = myWeb3


Top 50 recent answers are included