UNPKG

histoire

Version:

A fast story book powered by Vite

9 lines • 785 B
import type { HistoireProjectTestCollectionResult } from '@histoire/protocol'; import type { HistoireTestRunSummary } from '@histoire/shared'; import type { Context } from '../context.js'; import type { CollectHistoireTestsOptions, RunHistoireTestsOptions } from './types.js'; /** Existing runner executes in owned process; caller's cwd/env/handlers/exitCode never borrowed. */ export declare function runIsolatedHistoireTests(ctx: Context, options: RunHistoireTestsOptions): Promise<HistoireTestRunSummary>; /** Collection borrows the same owned process and confirmed teardown as execution. */ export declare function collectIsolatedHistoireTests(ctx: Context, options: CollectHistoireTestsOptions): Promise<HistoireProjectTestCollectionResult>; //# sourceMappingURL=isolated.d.ts.map