How to test polling query with jest

I have a component that has a polling query every minute. I want to write a test for this component, but I’m not sure how to ensure that these requests are being called. Or, how can I change the mocked response in between poll-intervals