@testplane/storybook
Version:
Testplane plugin that enables runtime screenshot storybook tests autogeneration
14 lines (13 loc) • 467 B
TypeScript
import { StorybookStoriesJson } from "./v3";
import { StorybookIndexJson } from "./v4";
export interface StorybookRawStory {
id: string;
title: string;
name: string;
importPath: string;
type: string;
tags?: string[];
}
export type StorybookDataJson = StorybookStoriesJson | StorybookIndexJson;
export declare const storybookDataJsonPaths: string[];
export declare const extractStories: (storiesJson: StorybookDataJson) => StorybookRawStory[];