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 8298ecf commit 31c8ef1Copy full SHA for 31c8ef1
1 file changed
global.d.ts
@@ -35,24 +35,4 @@ declare namespace jest {
35
}
36
37
38
-declare const vi: {
39
- fn: <T extends (...args: any[]) => any = (...args: any[]) => any>(
40
- implementation?: T,
41
- ) => jest.MockedFunction<T>;
42
- mock: (
43
- moduleName: string,
44
- factory?: (importOriginal: <T>() => Promise<T>) => unknown,
45
- ) => void;
46
- spyOn: typeof jest.spyOn;
47
- useFakeTimers: () => void;
48
- useRealTimers: () => void;
49
- advanceTimersByTime: (msToRun: number) => void;
50
- clearAllTimers: () => void;
51
- runAllTimers: () => void;
52
- importActual: <T>(moduleName: string) => Promise<T>;
53
- clearAllMocks: () => void;
54
- resetAllMocks: () => void;
55
- restoreAllMocks: () => void;
56
-};
57
-
58
declare module 'moment/locale/zh-cn';
0 commit comments