1 | interface MockeryEnableArgs {
|
2 | useCleanCache?: boolean | undefined;
|
3 | warnOnReplace?: boolean | undefined;
|
4 | warnOnUnregistered?: boolean | undefined;
|
5 | }
|
6 |
|
7 | export declare function enable(args?: MockeryEnableArgs): void;
|
8 | export declare function disable(): void;
|
9 |
|
10 | export declare function registerMock(name: string, mock: any): void;
|
11 | export declare function deregisterMock(name: string): void;
|
12 |
|
13 | export declare function registerSubstitute(name: string, substitute: string): void;
|
14 | export declare function deregisterSubstitute(name: string): void;
|
15 |
|
16 | export declare function registerAllowable(name: string, unhook?: boolean): void;
|
17 | export declare function deregisterAllowable(name: string): void;
|
18 |
|
19 | export declare function registerAllowables(names: string[]): void;
|
20 | export declare function deregisterAllowables(names: string[]): void;
|
21 |
|
22 | export declare function deregisterAll(): void;
|
23 | export declare function resetCache(): void;
|
24 | export declare function warnOnUnregistered(value: boolean): void;
|
25 | export declare function warnOnReplace(value: boolean): void;
|