html-reporter
Version:
Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.
15 lines (14 loc) • 551 B
TypeScript
import { ReactNode } from 'react';
import { ScreenshotDisplayData } from './types';
interface SideBySideToFitModeProps {
expected: ScreenshotDisplayData;
actual: ScreenshotDisplayData;
diff: ScreenshotDisplayData;
/**
* A valid CSS value assignable to height, e.g. `10px` or `calc(100vh - 50px)`.
* Images will try to fit the `desiredHeight`, but will only shrink no more than 2 times.
* */
desiredHeight: string;
}
export declare function SideBySideToFitMode(props: SideBySideToFitModeProps): ReactNode;
export {};