@testplane/storybook
Version:
Testplane plugin that enables runtime screenshot storybook tests autogeneration
7 lines (6 loc) • 364 B
TypeScript
import type { Test } from "testplane";
import { TestplaneOpts } from "./write-tests-file";
import type { StorybookStoryExtended } from "../get-stories";
export type { TestplaneOpts };
export declare const getStoryFile: (test: Test) => string;
export declare const buildStoryTestFiles: (stories: StorybookStoryExtended[], opts: TestplaneOpts) => Promise<string[]>;