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 10876c4 commit 15ff042Copy full SHA for 15ff042
tests/testUtils.ts
@@ -24,13 +24,6 @@ export function advanceTimersByTime(waitMs: number): Promise<void> {
24
return timeoutPromise;
25
}
26
27
-export function getTimerCount(): number {
28
- // Type definition for vi doesn't include this, but it exists
29
- // https://vijs.io/docs/en/vi-object#vigettimercount
30
- return (vi as any).getTimerCount();
31
-}
32
-
33
34
export const getTestPersistentCache = (): PersistentKeyValueCache => {
35
const cache = {
36
get: vi.fn().mockImplementation((key: string): Promise<string | undefined> => {
0 commit comments