creevey
Version:
Cross-browser screenshot testing tool for Storybook with fancy UI Runner
18 lines (17 loc) • 931 B
TypeScript
import { SkipOptions, TestData } from '../types';
export declare const isShuttingDown: {
current: boolean;
};
export declare const LOCALHOST_REGEXP: RegExp;
export declare const extensions: string[];
export declare function shouldSkip(browser: string, meta: {
kind: string;
story: string;
}, skipOptions: SkipOptions, test?: string): string | boolean;
export declare function shutdownWorkers(): Promise<void>;
export declare function getCreeveyCache(): string;
export declare function runSequence(seq: Array<() => unknown>, predicate: () => boolean): Promise<void>;
export declare function testsToImages(tests: (TestData | undefined)[]): Set<string>;
export declare const isInsideDocker: boolean;
export declare const downloadBinary: (downloadUrl: string, destination: string) => Promise<void>;
export declare function removeProps(obj: Record<string, unknown>, propPath: (string | ((key: string) => boolean))[]): void;