UNPKG

creevey

Version:

Cross-browser screenshot testing tool for Storybook with fancy UI Runner

4 lines (3 loc) 443 B
import type { StoriesRaw, ServerTest, StoryInput } from '../types.js'; export declare function loadTestsFromStories(browsers: string[], provider: (storiesListener: (stories: Map<string, StoryInput[]>) => void) => Promise<StoriesRaw>, update?: (testsDiff: Partial<Record<string, ServerTest>>) => void): Promise<Partial<Record<string, ServerTest>>>; export declare function saveTestsJson(tests: Record<string, unknown>, dstPath?: string): void;