In the real app, I'm using the web3-react hook to inject the provider, etc. How do I best mock that/replicate that in a Jest Typescript environment?
I was running with this problem and you can inject it with ganache-cli
const ethereumObject = require("ganache-cli").provider();
You can check out more here: https://michalzalecki.com/integration-tests-with-web3-ganache-cli-and-jest/ - I'm using ethers and it works!
Kinda late but I hope this helps someone