docs(cordis): document Timer wrapper migration and local docs
This commit is contained in:
1 parent
7618ccec69
commit
f10be1f63a
10 files changed
+81
-7
No files matched your search
@@ -71,7 +71,7 @@ describe('Cordis Timer', () => {
|
||||
throttled('second')
|
||||
await vi.advanceTimersByTimeAsync(10)
|
||||
expect(callback.mock.calls).toEqual(noTrailing ? [['first']] : [['first'], ['second']])
|
||||
throttled('pending')
|
||||
throttled('before disposal')
|
||||
const calls = callback.mock.calls.length
|
||||
throttled.dispose()
|
||||
await vi.advanceTimersByTimeAsync(20)
|
||||
|
||||
Reference in new issue
Block a user