I have the following jest test. The test is always returning the null from the catch pathway, and I really don\'t understand why.
global.fetch = jest.fn(() =&