histoire
Version:
A fast story book powered by Vite
11 lines • 565 B
TypeScript
import type { HistoireTestRunSummary } from '@histoire/shared';
import type { Context } from '../context.js';
import type { RunHistoireTestsOptions } from './types.js';
/**
* Runs the Histoire tests of a project (or of a single story/variant) in a real
* browser through the project's own Vitest.
* @param ctx The histoire context.
* @param options Run options (see {@link RunHistoireTestsOptions}).
*/
export declare function runHistoireTests(ctx: Context, options?: RunHistoireTestsOptions): Promise<HistoireTestRunSummary>;
//# sourceMappingURL=run.d.ts.map