@lewiswright/vitest-plugin-vis
Version:
Vitest visual testing plugin
17 lines • 1.42 kB
TypeScript
import { type HasImageSnapshotCommand } from './has_image_snapshot.ts';
import { type ImageSnapshotNextIndexCommand } from './image_snapshot_next_index.ts';
import { type MatchImageSnapshotCommand } from './match_image_snapshot.ts';
import { type PrepareImageSnapshotComparisonCommand } from './prepare_image_snapshot_comparison.ts';
import { type SetupVisSuiteCommand } from './setup_vis_suite.ts';
declare module '@vitest/browser/context' {
interface BrowserCommands extends SetupVisSuiteCommand, ImageSnapshotNextIndexCommand, HasImageSnapshotCommand, PrepareImageSnapshotComparisonCommand, MatchImageSnapshotCommand {
}
}
export declare const commands: {
setupVisSuite: import("vitest/node").BrowserCommand<[]>;
imageSnapshotNextIndex: import("vitest/node").BrowserCommand<[taskId: string]>;
hasImageSnapshot: import("vitest/node").BrowserCommand<[taskId: string, snapshotId: string | undefined, isAutoSnapshot: boolean]>;
matchImageSnapshot: import("vitest/node").BrowserCommand<[taskId: string, subject: string, isAutoSnapshot: boolean, options?: import("./match_image_snapshot.ts").MatchImageSnapshotOptions | undefined]>;
prepareImageSnapshotComparison: import("vitest/node").BrowserCommand<[taskId: string, snapshotId: string, isAutoSnapshot: boolean, options?: import("./match_image_snapshot.ts").MatchImageSnapshotOptions | undefined]>;
};
//# sourceMappingURL=extend.d.ts.map