I’d like to use
jest.mock to mock some external API calls. Is it possible to use Jest with Meteor?
I haven’t had a ton of success so far getting it to play nicely with Meteor. There didn’t seem to be an obvious solution when I did some digging here in the forums.
I was able to mock with
sinon.stub but it doesn’t play nicely with frozen objects so I was hoping Jest might be able to get the job done. If you’re aware of an alternative solution, please let me know.