@lewiswright/vitest-plugin-vis
Version:
Vitest visual testing plugin
14 lines • 584 B
TypeScript
import type { NAME } from '../shared/constants.ts';
import type { SnapshotMeta } from '../shared/types.ts';
declare let vitestSuite: Awaited<typeof import('vitest/suite')>;
export type CurrentTest = ReturnType<typeof vitestSuite.getCurrentTest> & {
meta: {
[NAME]?: SnapshotMeta<'pixel' | 'ssim'> & {
isAutoSnapshot?: boolean | undefined;
};
};
};
export declare const getCurrentTest: () => CurrentTest;
export declare const getCurrentSuite: () => import("vitest").SuiteCollector<object>;
export {};
//# sourceMappingURL=vitest_suite_proxy.d.ts.map