@types/expect-puppeteer
Advanced tools
Comparing version 3.3.3 to 4.4.0
@@ -1,5 +0,6 @@ | ||
// Type definitions for expect-puppeteer 3.3 | ||
// Type definitions for expect-puppeteer 4.4 | ||
// Project: https://github.com/smooth-code/jest-puppeteer/tree/master/packages/expect-puppeteer | ||
// Definitions by: Josh Goldberg <https://github.com/JoshuaKGoldberg> | ||
// Tanguy Krotoff <https://github.com/tkrotoff> | ||
// Jason Mong <https://github.com/jfm710> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -30,2 +31,7 @@ // TypeScript Version: 3.0 | ||
timeout?: number; | ||
/** | ||
* delay to pass to the puppeteer element.type API | ||
*/ | ||
delay?: number; | ||
} | ||
@@ -35,5 +41,25 @@ | ||
/** | ||
* Defaults to left. | ||
*/ | ||
button?: "left" | "right" | "middle"; | ||
/** | ||
* defaults to 1. See UIEvent.detail. | ||
*/ | ||
clickCount?: number; | ||
/** | ||
* Time to wait between mousedown and mouseup in milliseconds. Defaults to 0. | ||
*/ | ||
delay?: number; | ||
/** | ||
* A text or a RegExp to match in element textContent. | ||
*/ | ||
text?: string | RegExp; | ||
/** | ||
* wait for element to be present in DOM and to be visible, i.e. to not have display: none or visibility: hidden CSS properties. Defaults to false. | ||
*/ | ||
visible?: boolean; | ||
} | ||
@@ -40,0 +66,0 @@ |
{ | ||
"name": "@types/expect-puppeteer", | ||
"version": "3.3.3", | ||
"version": "4.4.0", | ||
"description": "TypeScript definitions for expect-puppeteer", | ||
@@ -16,6 +16,11 @@ "license": "MIT", | ||
"githubUsername": "tkrotoff" | ||
}, | ||
{ | ||
"name": "Jason Mong", | ||
"url": "https://github.com/jfm710", | ||
"githubUsername": "jfm710" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -31,4 +36,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "0201252b792bd118a33ef94f4abcab8ea11acb2bbae8991eb1b1626a4445d088", | ||
"typesPublisherContentHash": "9b58fa2f9f225db7866182ded9b3cdaed7d41c4c1e3995c7559d87fc8a1f30ce", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/expect-puppeteer | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/expect-puppeteer. | ||
Additional Details | ||
* Last updated: Fri, 25 Oct 2019 20:19:06 GMT | ||
* Dependencies: @types/puppeteer, @types/jest | ||
### Additional Details | ||
* Last updated: Fri, 17 Jan 2020 16:54:32 GMT | ||
* Dependencies: [@types/puppeteer](https://npmjs.com/package/@types/puppeteer), [@types/jest](https://npmjs.com/package/@types/jest) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Josh Goldberg <https://github.com/JoshuaKGoldberg>, and Tanguy Krotoff <https://github.com/tkrotoff>. | ||
These definitions were written by Josh Goldberg (https://github.com/JoshuaKGoldberg), Tanguy Krotoff (https://github.com/tkrotoff), and Jason Mong (https://github.com/jfm710). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6737
82