@types/jest
Advanced tools
Comparing version 20.0.8 to 21.1.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for Jest 20.0 | ||
// Type definitions for Jest 21.1 | ||
// Project: http://facebook.github.io/jest/ | ||
@@ -64,2 +64,10 @@ // Definitions by: Asana <https://asana.com> | ||
/** | ||
* available since Jest 21.1.0 | ||
* Restores all mocks back to their original value. | ||
* Equivalent to calling .mockRestore on every mocked function. | ||
* Beware that jest.restoreAllMocks() only works when mock was created with | ||
* jest.spyOn; other mocks will require you to manually restore them. | ||
*/ | ||
function restoreAllMocks(): typeof jest; | ||
/** | ||
* Removes any pending timers from the timer system. If any timers have | ||
@@ -66,0 +74,0 @@ * been scheduled, they will be cleared and will never have the opportunity |
{ | ||
"name": "@types/jest", | ||
"version": "20.0.8", | ||
"version": "21.1.0", | ||
"description": "TypeScript definitions for Jest", | ||
@@ -13,23 +13,29 @@ "license": "MIT", | ||
"name": "Ivo Stratev", | ||
"url": "https://github.com/NoHomey" | ||
"url": "https://github.com/NoHomey", | ||
"githubUsername": "NoHomey" | ||
}, | ||
{ | ||
"name": "jwbay", | ||
"url": "https://github.com/jwbay" | ||
"url": "https://github.com/jwbay", | ||
"githubUsername": "jwbay" | ||
}, | ||
{ | ||
"name": "Alexey Svetliakov", | ||
"url": "https://github.com/asvetliakov" | ||
"url": "https://github.com/asvetliakov", | ||
"githubUsername": "asvetliakov" | ||
}, | ||
{ | ||
"name": "Alex Jover Morales", | ||
"url": "https://github.com/alexjoverm" | ||
"url": "https://github.com/alexjoverm", | ||
"githubUsername": "alexjoverm" | ||
}, | ||
{ | ||
"name": "Allan Lukwago", | ||
"url": "https://github.com/epicallan" | ||
"url": "https://github.com/epicallan", | ||
"githubUsername": "epicallan" | ||
}, | ||
{ | ||
"name": "Ika", | ||
"url": "https://github.com/ikatyang" | ||
"url": "https://github.com/ikatyang", | ||
"githubUsername": "ikatyang" | ||
} | ||
@@ -44,4 +50,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "e9213f5dd589b752cd171a3394b69cb7fd931d3727a0a953662273c482bc946d", | ||
"typesPublisherContentHash": "248296d2e9945b43f48448dd29d4b1944ee6ccb3d36d8cd79c154686a0adf6f8", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 23 Aug 2017 17:50:59 GMT | ||
* Last updated: Fri, 22 Sep 2017 13:56:12 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 |
Sorry, the diff of this file is not supported yet
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
40665
980