@testplane/storybook
Version:
Testplane plugin that enables runtime screenshot storybook tests autogeneration
12 lines (11 loc) • 417 B
TypeScript
import { StorybookStoryExtended } from "../get-stories";
export interface TestplaneOpts {
autoScreenshots: boolean;
autoscreenshotSelector: string;
autoScreenshotStorybookGlobals: Record<string, Record<string, unknown>>;
}
export declare const writeStoryTestsFile: ({ testFile, stories, opts, }: {
testFile: string;
stories: StorybookStoryExtended[];
opts: TestplaneOpts;
}) => Promise<void>;