@lewiswright/vitest-plugin-vis
Version:
Vitest visual testing plugin
8 lines • 602 B
TypeScript
import type { BrowserCommandContext } from 'vitest/node';
import type { PartialBrowserCommandContext } from '../server/vis_context.types.ts';
export declare const stubBrowserCommandContext: (stub?: import("type-plus").RecursivePartial<BrowserCommandContext> | undefined) => BrowserCommandContext;
export declare function createStubPartialBrowserCommandContext({ root, testPath }: {
root: string;
testPath: string;
}): (stub?: import("type-plus").RecursivePartial<PartialBrowserCommandContext> | undefined) => PartialBrowserCommandContext;
//# sourceMappingURL=stubBrowserCommandContext.d.ts.map