html2canvas/tests/types.ts
Niklas von Hertzen ff35c7dbd3
test: update karma runner (#2524)
* test: update karma runner

* fix: Promise polyfill for testrunner
2021-05-08 18:32:03 +08:00

14 lines
270 B
TypeScript

export interface PlatformDetails {
name: string;
version: string;
}
export interface ScreenshotRequest {
screenshot: string;
test: string;
platform: PlatformDetails;
devicePixelRatio: number;
windowWidth: number;
windowHeight: number;
}