UNPKG

443 BTypeScriptView Raw
1import type RunResult from './run-result.js';
2declare class TestContext {
3 beforeCwd?: string;
4 autoRestore: boolean;
5 autoCleanup?: boolean;
6 runResult?: RunResult;
7 private runContext?;
8 startNewContext(runContext?: any, autoCleanup?: boolean): void;
9}
10declare const testContext: TestContext;
11export default testContext;
12/**
13 * Provides a proxy for last executed context result.
14 */
15export declare const result: RunResult;