@types/jest
Advanced tools
Comparing version 16.0.8 to 16.0.9
@@ -1,4 +0,7 @@ | ||
// Type definitions for Jest 16.0.0 | ||
// Type definitions for Jest 16.0 | ||
// Project: http://facebook.github.io/jest/ | ||
// Definitions by: Asana <https://asana.com>, Ivo Stratev <https://github.com/NoHomey>, jwbay <https://github.com/jwbay> | ||
// Definitions by: Asana (https://asana.com) | ||
// Ivo Stratev <https://github.com/NoHomey> | ||
// jwbay <https://github.com/jwbay> | ||
// ExE Boss <https://github.com/ExE-Boss> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -43,3 +46,3 @@ | ||
/** Mocks a module with an auto-mocked version when it is being required. */ | ||
function doMock(moduleName: string): typeof jest; | ||
function doMock(moduleName: string, factory?: () => any, options?: MockOptions): typeof jest; | ||
/** Indicates that the module system should never return a mocked version of the specified module from require() (e.g. that it should always return the real module). */ | ||
@@ -56,3 +59,3 @@ function dontMock(moduleName: string): typeof jest; | ||
/** Mocks a module with an auto-mocked version when it is being required. */ | ||
function mock(moduleName: string, factory?: any, options?: MockOptions): typeof jest; | ||
function mock(moduleName: string, factory?: () => any, options?: MockOptions): typeof jest; | ||
/** Resets the module registry - the cache of all required modules. This is useful to isolate modules where local state might conflict between tests. */ | ||
@@ -59,0 +62,0 @@ function resetModuleRegistry(): typeof jest; |
{ | ||
"name": "@types/jest", | ||
"version": "16.0.8", | ||
"version": "16.0.9", | ||
"description": "TypeScript definitions for Jest", | ||
@@ -8,7 +8,3 @@ "license": "MIT", | ||
{ | ||
"name": "Asana", | ||
"url": "https://asana.com" | ||
}, | ||
{ | ||
"name": "Ivo Stratev", | ||
"name": "Asana (https://asana.com)\n// Ivo Stratev", | ||
"url": "https://github.com/NoHomey", | ||
@@ -21,13 +17,20 @@ "githubUsername": "NoHomey" | ||
"githubUsername": "jwbay" | ||
}, | ||
{ | ||
"name": "ExE Boss", | ||
"url": "https://github.com/ExE-Boss", | ||
"githubUsername": "ExE-Boss" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/jest" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "5305db1114c86e55bb791f387ba85fe55be47487f60d1b51190f89e0cd30ad47", | ||
"typesPublisherContentHash": "e4b301c0756d13b334fda88be6505f6dbaa42cb35b0904df0c3414307d817a6f", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -5,9 +5,9 @@ # Installation | ||
# Summary | ||
This package contains type definitions for Jest (http://facebook.github.io/jest/). | ||
This package contains type definitions for Jest ( http://facebook.github.io/jest/ ). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest/v16 | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest/v16 | ||
Additional Details | ||
* Last updated: Thu, 28 Dec 2017 02:21:03 GMT | ||
* Last updated: Thu, 13 Jun 2019 06:10:34 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,3 @@ * Global values: afterAll, afterEach, beforeAll, beforeEach, describe, expect, fail, fdescribe, fit, it, jasmine, jest, pending, spyOn, test, xdescribe, xit, xtest | ||
# Credits | ||
These definitions were written by Asana <https://asana.com>, Ivo Stratev <https://github.com/NoHomey>, jwbay <https://github.com/jwbay>. | ||
These definitions were written by Asana (https://asana.com) | ||
// Ivo Stratev <https://github.com/NoHomey>, jwbay <https://github.com/jwbay>, ExE Boss <https://github.com/ExE-Boss>. |
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
16591
274
18