function
test.jest.setTimerTickMode
config: { mode: 'manual' | 'nextAsync' } | { delta: number; mode: 'interval' }
Choose how the fake clock moves when the test doesn't move it.
manual: it doesn't move. This is the default.nextAsync: each turn of the real event loop runs the next timer.interval: it advances bydeltamilliseconds (default 20) everydeltareal milliseconds.