@types/jest
Advanced tools
Comparing version 23.3.8 to 23.3.9
@@ -396,2 +396,32 @@ // Type definitions for Jest 23.3 | ||
interface InverseAsymmetricMatchers { | ||
/** | ||
* `expect.not.arrayContaining(array)` matches a received array which | ||
* does not contain all of the elements in the expected array. That is, | ||
* the expected array is not a subset of the received array. It is the | ||
* inverse of `expect.arrayContaining`. | ||
*/ | ||
arrayContaining(arr: any[]): any; | ||
/** | ||
* `expect.not.objectContaining(object)` matches any received object | ||
* that does not recursively match the expected properties. That is, the | ||
* expected object is not a subset of the received object. Therefore, | ||
* it matches a received object which contains properties that are not | ||
* in the expected object. It is the inverse of `expect.objectContaining`. | ||
*/ | ||
objectContaining(obj: {}): any; | ||
/** | ||
* `expect.not.stringMatching(string | regexp)` matches the received | ||
* string that does not match the expected regexp. It is the inverse of | ||
* `expect.stringMatching`. | ||
*/ | ||
stringMatching(str: string | RegExp): any; | ||
/** | ||
* `expect.not.stringContaining(string)` matches the received string | ||
* that does not contain the exact expected string. It is the inverse of | ||
* `expect.stringContaining`. | ||
*/ | ||
stringContaining(str: string): any; | ||
} | ||
/** | ||
@@ -479,2 +509,4 @@ * The `expect` function is used every time you want to test a value. | ||
stringContaining(str: string): any; | ||
not: InverseAsymmetricMatchers; | ||
} | ||
@@ -481,0 +513,0 @@ |
{ | ||
"name": "@types/jest", | ||
"version": "23.3.8", | ||
"version": "23.3.9", | ||
"description": "TypeScript definitions for Jest", | ||
@@ -100,4 +100,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "c966675871f63c538b7a5f177cefeb8e42a3b9a136873a531cb10c3b186a3c5a", | ||
"typesPublisherContentHash": "2a73e53a5a9288b2fe6ecb3cbcbb004845e2699df62745c22834ff34ce4a0b0c", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 27 Oct 2018 21:48:04 GMT | ||
* Last updated: Tue, 30 Oct 2018 19:52:56 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
66148
1585