UNPKG

@percy/agent

Version:

An agent process for integrating with Percy.

15 lines (14 loc) 690 B
import { ImageSnapshotsConfiguration } from '../configuration/image-snapshots-configuration'; import PercyClientService from './percy-client-service'; export default class ImageSnapshotService extends PercyClientService { private readonly buildService; private readonly configuration; constructor(configuration?: ImageSnapshotsConfiguration); get buildId(): number | null; makeLocalCopy(imagePath: string): string; buildResources(imagePath: string, width: number, height: number): any[]; createSnapshot(name: string, resources: any[], width: number, height: number): Promise<any>; snapshotAll({ dry }?: { dry?: boolean; }): Promise<undefined>; }