UNPKG

histoire

Version:

A fast story book powered by Vite

12 lines • 602 B
import type { BrowserRuntimePaths } from '../resolve-paths.js'; /** * Replaces Vitest's worker entry in story iframes: declarations register with * Histoire, while standalone Vitest expect, spy, and mocker packages provide * assertions and mocks. * * Assembles one browser module from focused source fragments. Keeping a single * emitted module preserves shared expect, mock, and collector state in dev and * static builds without adding virtual-module resolution rules. */ export declare function generateStoryVitestShim(paths: BrowserRuntimePaths): string; //# sourceMappingURL=index.d.ts.map