Questions About TestClock Functionality and Usage
Hi, I have some questions about TestClock:
1. Do I understand correctly that it does not allow any intervals/timeouts/etc. to execute
until we call TestClock.adjust(...)?
2. If so, then is there a way to disable it for some time and then enabled it after some event, etc.?
What I'm looking for is basically
1. Do I understand correctly that it does not allow any intervals/timeouts/etc. to execute
until we call TestClock.adjust(...)?
2. If so, then is there a way to disable it for some time and then enabled it after some event, etc.?
What I'm looking for is basically
vitest.useFakeTimers() and vitest.useRealTimers(), but for TestClock