@ledgerhq/common
Advanced tools
Comparing version 4.3.0-beta.79913151 to 4.3.0-beta.42bb5526
@@ -1,3 +0,3 @@ | ||
// flow-typed signature: 6e1fc0a644aa956f79029fec0709e597 | ||
// flow-typed version: 07ebad4796/jest_v22.x.x/flow_>=v0.39.x | ||
// flow-typed signature: 18018da6c1a1d95b4ab1c64bb5fe86ca | ||
// flow-typed version: c1ad61e7d4/jest_v22.x.x/flow_>=v0.39.x | ||
@@ -117,2 +117,8 @@ type JestMockFn<TArguments: $ReadOnlyArray<*>, TReturn> = { | ||
/** | ||
* Jest allows functions and classes to be used as test names in test() and | ||
* describe() | ||
*/ | ||
type JestTestName = string | Function; | ||
/** | ||
* Plugin: jest-enzyme | ||
@@ -466,3 +472,3 @@ */ | ||
*/ | ||
(name: string, fn: () => void): void, | ||
(name: JestTestName, fn: () => void): void, | ||
@@ -472,3 +478,3 @@ /** | ||
*/ | ||
only(name: string, fn: () => void): void, | ||
only(name: JestTestName, fn: () => void): void, | ||
@@ -478,3 +484,3 @@ /** | ||
*/ | ||
skip(name: string, fn: () => void): void | ||
skip(name: JestTestName, fn: () => void): void | ||
}; | ||
@@ -487,3 +493,3 @@ | ||
* | ||
* @param {string} Name of Test | ||
* @param {JestTestName} Name of Test | ||
* @param {Function} Test | ||
@@ -493,3 +499,3 @@ * @param {number} Timeout for the test, in milliseconds. | ||
( | ||
name: string, | ||
name: JestTestName, | ||
fn?: (done: () => void) => ?Promise<mixed>, | ||
@@ -501,3 +507,3 @@ timeout?: number | ||
* | ||
* @param {string} Name of Test | ||
* @param {JestTestName} Name of Test | ||
* @param {Function} Test | ||
@@ -507,3 +513,3 @@ * @param {number} Timeout for the test, in milliseconds. | ||
only( | ||
name: string, | ||
name: JestTestName, | ||
fn?: (done: () => void) => ?Promise<mixed>, | ||
@@ -515,3 +521,3 @@ timeout?: number | ||
* | ||
* @param {string} Name of Test | ||
* @param {JestTestName} Name of Test | ||
* @param {Function} Test | ||
@@ -521,3 +527,3 @@ * @param {number} Timeout for the test, in milliseconds. | ||
skip( | ||
name: string, | ||
name: JestTestName, | ||
fn?: (done: () => void) => ?Promise<mixed>, | ||
@@ -529,3 +535,3 @@ timeout?: number | ||
* | ||
* @param {string} Name of Test | ||
* @param {JestTestName} Name of Test | ||
* @param {Function} Test | ||
@@ -535,3 +541,3 @@ * @param {number} Timeout for the test, in milliseconds. | ||
concurrent( | ||
name: string, | ||
name: JestTestName, | ||
fn?: (done: () => void) => ?Promise<mixed>, | ||
@@ -542,3 +548,3 @@ timeout?: number | ||
declare function fit( | ||
name: string, | ||
name: JestTestName, | ||
fn: (done: () => void) => ?Promise<mixed>, | ||
@@ -545,0 +551,0 @@ timeout?: number |
{ | ||
"name": "@ledgerhq/common", | ||
"version": "4.3.0-beta.79913151", | ||
"version": "4.3.0-beta.42bb5526", | ||
"description": "Ledger Hardware Wallet Common", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
854899
13942