@types/chai
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -64,2 +64,3 @@ // Type definitions for chai 4.0.0 | ||
deep: Deep; | ||
ordered: Ordered; | ||
nested: Nested; | ||
@@ -138,2 +139,4 @@ any: KeyFilter; | ||
same: Assertion; | ||
but: Assertion; | ||
does: Assertion; | ||
} | ||
@@ -186,4 +189,9 @@ | ||
members: Members; | ||
ordered: Ordered; | ||
} | ||
interface Ordered { | ||
members: Members; | ||
} | ||
interface KeyFilter { | ||
@@ -219,2 +227,4 @@ keys: Keys; | ||
keys: Keys; | ||
deep: Deep; | ||
ordered: Ordered; | ||
members: Members; | ||
@@ -1007,2 +1017,90 @@ any: KeyFilter; | ||
/** | ||
* Asserts that set1 and set2 have the same members in the same order. | ||
* Uses a strict equality check (===). | ||
* | ||
* @type T Type of set values. | ||
* @param set1 Actual set of values. | ||
* @param set2 Potential expected set of values. | ||
* @param message Message to display on error. | ||
*/ | ||
sameOrderedMembers<T>(set1: T[], set2: T[], message?: string): void; | ||
/** | ||
* Asserts that set1 and set2 don’t have the same members in the same order. | ||
* Uses a strict equality check (===). | ||
* | ||
* @type T Type of set values. | ||
* @param set1 Actual set of values. | ||
* @param set2 Potential expected set of values. | ||
* @param message Message to display on error. | ||
*/ | ||
notSameOrderedMembers<T>(set1: T[], set2: T[], message?: string): void; | ||
/** | ||
* Asserts that set1 and set2 have the same members in the same order. | ||
* Uses a deep equality check. | ||
* | ||
* @type T Type of set values. | ||
* @param set1 Actual set of values. | ||
* @param set2 Potential expected set of values. | ||
* @param message Message to display on error. | ||
*/ | ||
sameDeepOrderedMembers<T>(set1: T[], set2: T[], message?: string): void; | ||
/** | ||
* Asserts that set1 and set2 don’t have the same members in the same order. | ||
* Uses a deep equality check. | ||
* | ||
* @type T Type of set values. | ||
* @param set1 Actual set of values. | ||
* @param set2 Potential expected set of values. | ||
* @param message Message to display on error. | ||
*/ | ||
notSameDeepOrderedMembers<T>(set1: T[], set2: T[], message?: string): void; | ||
/** | ||
* Asserts that subset is included in superset in the same order beginning with the first element in superset. | ||
* Uses a strict equality check (===). | ||
* | ||
* @type T Type of set values. | ||
* @param superset Actual set of values. | ||
* @param subset Potential contained set of values. | ||
* @param message Message to display on error. | ||
*/ | ||
includeOrderedMembers<T>(superset: T[], subset: T[], message?: string): void; | ||
/** | ||
* Asserts that subset isn’t included in superset in the same order beginning with the first element in superset. | ||
* Uses a strict equality check (===). | ||
* | ||
* @type T Type of set values. | ||
* @param superset Actual set of values. | ||
* @param subset Potential contained set of values. | ||
* @param message Message to display on error. | ||
*/ | ||
notIncludeOrderedMembers<T>(superset: T[], subset: T[], message?: string): void; | ||
/** | ||
* Asserts that subset is included in superset in the same order beginning with the first element in superset. | ||
* Uses a deep equality check. | ||
* | ||
* @type T Type of set values. | ||
* @param superset Actual set of values. | ||
* @param subset Potential contained set of values. | ||
* @param message Message to display on error. | ||
*/ | ||
includeDeepOrderedMembers<T>(superset: T[], subset: T[], message?: string): void; | ||
/** | ||
* Asserts that subset isn’t included in superset in the same order beginning with the first element in superset. | ||
* Uses a deep equality check. | ||
* | ||
* @type T Type of set values. | ||
* @param superset Actual set of values. | ||
* @param subset Potential contained set of values. | ||
* @param message Message to display on error. | ||
*/ | ||
notIncludeDeepOrderedMembers<T>(superset: T[], subset: T[], message?: string): void; | ||
/** | ||
* Asserts that subset is included in superset. Order is not take into account. | ||
@@ -1009,0 +1107,0 @@ * |
{ | ||
"name": "@types/chai", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "TypeScript definitions for chai", | ||
@@ -40,4 +40,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "de980879c0d4ce197468515eb88419bc8497e967ea0f6ac20742fe793ee6d50f", | ||
"typesPublisherContentHash": "ab9728c58cd5913ce5dc9fee223771a1f4ba0c2ede1e2adaf1f6ec561969a183", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 01 Jun 2017 05:00:32 GMT | ||
* Last updated: Fri, 23 Jun 2017 17:35:05 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: Chai, chai |
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
50885
1207
0