@lewiswright/vitest-plugin-vis
Version:
Vitest visual testing plugin
15 lines • 631 B
TypeScript
import type { BrowserCommand } from 'vitest/node';
export interface SetupVisSuiteCommand {
/**
* Sets up the visual testing suite by cleaning up previous snapshot and diff output directories.
* When this command is run for the first time,
* it will remove the results and diffs directory of all suites.
*
* In subsequent runs, it will only remove the results and diffs directory of the current suite.
*/
setupVisSuite: () => Promise<{
subjectDataTestId: string | undefined;
}>;
}
export declare const setupVisSuite: BrowserCommand<[]>;
//# sourceMappingURL=setup_vis_suite.d.ts.map