@types/sinon
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -105,3 +105,3 @@ // Type definitions for Sinon 2.2 | ||
resetHistory(): void; | ||
usingPromise(promiseLibrary: any): void; | ||
usingPromise(promiseLibrary: any): SinonStub; | ||
@@ -207,15 +207,15 @@ returns(obj: any): SinonStub; | ||
/** | ||
* Simulate the user changing the system clock while your program is running. It changes the 'now' timestamp | ||
* without affecting timers, intervals or immediates. | ||
* @param now The new 'now' in unix milliseconds | ||
*/ | ||
setSystemTime(now: number): void; | ||
/** | ||
* Simulate the user changing the system clock while your program is running. It changes the 'now' timestamp | ||
* without affecting timers, intervals or immediates. | ||
* @param now The new 'now' as a JavaScript Date | ||
*/ | ||
setSystemTime(date: Date): void; | ||
} | ||
/** | ||
* Simulate the user changing the system clock while your program is running. It changes the 'now' timestamp | ||
* without affecting timers, intervals or immediates. | ||
* @param now The new 'now' in unix milliseconds | ||
*/ | ||
setSystemTime(now: number): void; | ||
/** | ||
* Simulate the user changing the system clock while your program is running. It changes the 'now' timestamp | ||
* without affecting timers, intervals or immediates. | ||
* @param now The new 'now' as a JavaScript Date | ||
*/ | ||
setSystemTime(date: Date): void; | ||
} | ||
@@ -420,3 +420,3 @@ interface SinonFakeTimersStatic { | ||
resetBehavior(): void; | ||
usingPromise(promiseLibrary: any): void; | ||
usingPromise(promiseLibrary: any): SinonSandbox; | ||
verify(): void; | ||
@@ -423,0 +423,0 @@ verifyAndRestore(): void; |
{ | ||
"name": "@types/sinon", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "TypeScript definitions for Sinon", | ||
@@ -28,4 +28,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "a2da26f24c9340402847ea5bee7599725f4acda590e9c1c5ceb48f9c958652eb", | ||
"typesPublisherContentHash": "883db8f7f2661f08a629e547041f72077a350dd28f24e0b090feea964d420618", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 03 May 2017 19:10:56 GMT | ||
* Last updated: Thu, 04 May 2017 17:04:38 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: sinon |
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
19202