Wait for the given delay as many times as indicated.

This will throw if jest.useRealTimers() is not used.