@augment-vir/test
Version:
A universal testing suite that works with Mocha style test runners _and_ Node.js's built-in test runner.
8 lines (7 loc) • 589 B
TypeScript
import { type PartialWithUndefined, type SelectFrom } from '@augment-vir/common';
import { type CompareScreenshotCommandPayload } from '@virmator/test/dist/web-screenshot-plugin/screenshot-payload.js';
import { type UniversalTestContext } from '../augments/universal-testing-suite/universal-test-context.js';
export declare function assertWebScreenshot(element: Element, screenshotNameOrTestContext: string | UniversalTestContext, options?: Readonly<PartialWithUndefined<SelectFrom<CompareScreenshotCommandPayload, {
maxDiffPixelRatio: true;
threshold: true;
}>>>): Promise<void>;