@types/jest
Advanced tools
Comparing version 19.2.0 to 19.2.1
@@ -161,7 +161,7 @@ // Type definitions for Jest 19.2.0 | ||
(actual: any): Matchers; | ||
anything(): void; | ||
anything(): any; | ||
/** Matches anything that was created with the given constructor. You can use it inside `toEqual` or `toBeCalledWith` instead of a literal value. */ | ||
any(classType: any): void; | ||
any(classType: any): any; | ||
/** Matches any array made up entirely of elements in the provided array. You can use it inside `toEqual` or `toBeCalledWith` instead of a literal value. */ | ||
arrayContaining(arr: any[]): void; | ||
arrayContaining(arr: any[]): any; | ||
/** Verifies that a certain number of assertions are called during a test. This is often useful when testing asynchronous code, in order to make sure that assertions in a callback actually got called. */ | ||
@@ -172,5 +172,5 @@ assertions(num: number): void; | ||
/** Matches any object that recursively matches the provided keys. This is often handy in conjunction with other asymmetric matchers. */ | ||
objectContaining(obj: {}): void; | ||
objectContaining(obj: {}): any; | ||
/** Matches any string that contains the exact provided string */ | ||
stringMatching(str: string | RegExp): void; | ||
stringMatching(str: string | RegExp): any; | ||
} | ||
@@ -177,0 +177,0 @@ |
{ | ||
"name": "@types/jest", | ||
"version": "19.2.0", | ||
"version": "19.2.1", | ||
"description": "TypeScript definitions for Jest", | ||
@@ -32,4 +32,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "05fff843c501f44841b6c3de7be76af3414db7efcf67adf8dc99992af1673316", | ||
"typesPublisherContentHash": "a4769cd503e84b71894c604b1b408dc655aede99e7430f10654b41c0c474b282", | ||
"typeScriptVersion": "2.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 09 Mar 2017 02:12:13 GMT | ||
* Last updated: Sat, 11 Mar 2017 01:36:05 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 |
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
22567