@lewiswright/vitest-plugin-vis
Version:
Vitest visual testing plugin
11 lines • 830 B
TypeScript
import type { BrowserCommands } from '@vitest/browser/context';
import type { ImageSnapshotNextIndexCommand } from '../commands.ts';
import type { PrepareImageSnapshotComparisonCommand } from '../server/commands/prepare_image_snapshot_comparison.ts';
import type { ToMatchImageSnapshotOptions } from '../shared/types.ts';
import type { CurrentTest } from './vitest_suite_proxy.ts';
export declare function imageSnapshotMatcher(commands: BrowserCommands & PrepareImageSnapshotComparisonCommand & ImageSnapshotNextIndexCommand): (test: CurrentTest & {}, subject: any, options?: ToMatchImageSnapshotOptions<any>) => Promise<void>;
/**
* @deprecated internalized. Use `matchImageSnapshot` directly instead.
*/
export declare function parseImageSnapshotSubject(subject: any): any;
//# sourceMappingURL=image_snapshot_matcher.d.ts.map