We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15ff042 commit 095ade9Copy full SHA for 095ade9
tests/testUtils.ts
@@ -24,6 +24,10 @@ export function advanceTimersByTime(waitMs: number): Promise<void> {
24
return timeoutPromise;
25
}
26
27
+export function getTimerCount(): number {
28
+ return vi.getTimerCount();
29
+}
30
+
31
export const getTestPersistentCache = (): PersistentKeyValueCache => {
32
const cache = {
33
get: vi.fn().mockImplementation((key: string): Promise<string | undefined> => {
0 commit comments