Why jest.useFakeTimers() is not working for a setTimeout inside a Promise inside a HTTP Request?
I have a test usinging jest thats try to validate an result of a http request to an endpoint (nextjs) which results in a timeout depending on the input parameters like: “/timeout/300”