@lewiswright/vitest-plugin-vis
Version:
Vitest visual testing plugin
10 lines • 498 B
TypeScript
import { type BrowserPage } from '@vitest/browser/context';
import type { ImageSnapshotIdOptions } from '../../shared/types.ts';
export interface HasImageSnapshotAction {
hasImageSnapshot(this: BrowserPage, options?: ImageSnapshotIdOptions | undefined): Promise<boolean>;
}
/**
* Check if the snapshot image exists.
*/
export declare function hasImageSnapshot(this: BrowserPage, options?: ImageSnapshotIdOptions | undefined): Promise<boolean>;
//# sourceMappingURL=has_image_snapshot.d.ts.map