@types/jest
Advanced tools
Comparing version 26.0.1 to 26.0.2
@@ -134,2 +134,22 @@ // Type definitions for Jest 26.0 | ||
/** | ||
* Set the current system time used by fake timers. Simulates a user | ||
* changing the system clock while your program is running. It affects the | ||
* current time but it does not in itself cause e.g. timers to fire; they | ||
* will fire exactly as they would have done without the call to | ||
* jest.setSystemTime(). | ||
* | ||
* > Note: This function is only available when using modern fake timers | ||
* > implementation | ||
*/ | ||
function setSystemTime(now?: number): void; | ||
/** | ||
* When mocking time, Date.now() will also be mocked. If you for some | ||
* reason need access to the real current time, you can invoke this | ||
* function. | ||
* | ||
* > Note: This function is only available when using modern fake timers | ||
* > implementation | ||
*/ | ||
function getRealSystemTime(): number; | ||
/** | ||
* Indicates that the module system should never return a mocked version | ||
@@ -136,0 +156,0 @@ * of the specified module, including all of the specificied module's dependencies. |
{ | ||
"name": "@types/jest", | ||
"version": "26.0.1", | ||
"version": "26.0.2", | ||
"description": "TypeScript definitions for Jest", | ||
@@ -162,4 +162,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "22c88439c1528c66029045a18b05927e8bfb97a20509fd185b7fd3234232230d", | ||
"typesPublisherContentHash": "36bb06a8d6d6f1dd40a8fd2b66eebaf11b0df88a7fb655c9b29d6e83a34ea0ab", | ||
"typeScriptVersion": "3.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 24 Jun 2020 08:56:19 GMT | ||
* Last updated: Wed, 24 Jun 2020 11:46:46 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `afterAll`, `afterEach`, `beforeAll`, `beforeEach`, `describe`, `expect`, `fail`, `fdescribe`, `fit`, `it`, `jasmine`, `jest`, `pending`, `spyOn`, `test`, `xdescribe`, `xit`, `xtest` |
70558
1470