UNPKG

histoire

Version:

A fast story book powered by Vite

13 lines • 751 B
import type { Context } from '../context.js'; import type { BrowserCollectionResult, CollectStoriesBrowserOptions } from './types.js'; /** * Collects the stories by executing them in a real browser through Vitest. * * Each story file gets its own generated spec; the results come back through an * HTTP channel and are then finalized onto (or beside) the context story files. * @param ctx The histoire context. * @param options Collection options (see {@link CollectStoriesBrowserOptions}). * @returns The finalized story files and the stories that failed to collect. */ export declare function collectStoriesBrowser(ctx: Context, options?: CollectStoriesBrowserOptions): Promise<BrowserCollectionResult>; //# sourceMappingURL=browser.d.ts.map