mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
test: update karma runner (#2524)
* test: update karma runner * fix: Promise polyfill for testrunner
This commit is contained in:
committed by
GitHub
parent
ba172678f0
commit
ff35c7dbd3
13
tests/types.ts
Normal file
13
tests/types.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface PlatformDetails {
|
||||
name: string;
|
||||
version: string;
|
||||
}
|
||||
|
||||
export interface ScreenshotRequest {
|
||||
screenshot: string;
|
||||
test: string;
|
||||
platform: PlatformDetails;
|
||||
devicePixelRatio: number;
|
||||
windowWidth: number;
|
||||
windowHeight: number;
|
||||
}
|
||||
Reference in New Issue
Block a user