Closed akmjenkins closed 4 years ago
Any progress on this being merged? I'd really like to be able to test my code that uses this great feature 😬
Sorry been super busy recently and looking into merging a big PR on conditional mocking. Afterwards when I have time I can look into this
Eagerly waiting for! :)
This was closed as part of the referenced PR
Just a thought, I like jest-fetch-mock but my tests frequently include
expect(fetch.mock.calls[0][1].signal.aborted).toBeTruthy();
when I'd much rather do an
expect(...).rejects.toThrow()