UNPKG

408 BTypeScriptView Raw
1/**
2 * Assigns a mock to a property on an object, and returns both the mock and a method to restore it.
3 */
4export declare const assignMock: (original: any, property: string, value?: any) => {
5 mock: any;
6 restore: () => void;
7};
8/**
9 * Runs a Diez command.
10 */
11export declare const diezRun: (command: string, bootstrapRoot?: string | undefined) => Promise<unknown>;
12//# sourceMappingURL=utils.d.ts.map
\No newline at end of file