UNPKG

visreg-test

Version:

A visual regression testing solution that offers an easy setup with simple yet powerful customisation options, wrapped up in a convenient CLI runner to make assessing and accepting/rejecting diffs a breeze.

29 lines (28 loc) 633 B
import { Endpoint } from '../../types'; type FileInfo = { filePath: string; cleanName: string; suiteImagesDir: string; type: string; suiteSlug: string; fileName: string; }; export declare const getImage: (fileInfo: FileInfo) => Promise<{ suiteName: string; name: string; fileName: string; createdAt: Date; modifiedAt: Date; type: string; sizeString: string; fileUrl: string; path: string; siblingPaths: { type: string; previewUrl: string; }[]; endpoint: Endpoint | undefined; baseUrl: string | undefined; fullUrl: string; }>; export {};