@lewiswright/vitest-plugin-vis
Version:
Vitest visual testing plugin
9 lines • 440 B
TypeScript
import type { AsyncExpectationResult } from '@vitest/expect';
import type { ToMatchImageSnapshotOptions } from '../../shared/types.ts';
export declare function toMatchImageSnapshot(
/**
* The element or locator to take the snapshot of,
* or the base64 value of the image to compare against.
*/
subject: any, options?: ToMatchImageSnapshotOptions | undefined): AsyncExpectationResult;
//# sourceMappingURL=to_match_image_snapshot.d.ts.map