Skip to content

Commit 15ff042

Browse files
committed
update
1 parent 10876c4 commit 15ff042

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/testUtils.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@ export function advanceTimersByTime(waitMs: number): Promise<void> {
2424
return timeoutPromise;
2525
}
2626

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-
3427
export const getTestPersistentCache = (): PersistentKeyValueCache => {
3528
const cache = {
3629
get: vi.fn().mockImplementation((key: string): Promise<string | undefined> => {

0 commit comments

Comments
 (0)