We can use sinon.sandbox.useFakeTimers() here and remove the clock.restore()