UNPKG

histoire

Version:

A fast story book powered by Vite

10 lines • 619 B
import type { HistoireSerializedTestDefinition } from '@histoire/shared'; import type { VariantSession } from './session.js'; /** * Runs one collected definition in a fresh mounted session. * * Every hidden document owns one of these sessions. This intentionally runs * suite-level hooks for each case, matching generated Vitest browser specs. */ export declare function runPreviewDefinition(session: VariantSession, storyId: string, variantId: string, serialized: HistoireSerializedTestDefinition): Promise<import("@histoire/protocol").HistoireTestRunSummary>; //# sourceMappingURL=run-preview-definition.d.ts.map