1 |
|
2 |
|
3 | interface ChaiAsPromised extends Chai.ChaiPlugin {
|
4 | transferPromiseness(assertion: Chai.PromisedAssertion, promise: PromiseLike<any>): void;
|
5 | transformAsserterArgs(values: any[]): any;
|
6 | }
|
7 |
|
8 | declare const chaiAsPromised: ChaiAsPromised;
|
9 | export default chaiAsPromised;
|
10 |
|
11 | declare global {
|
12 | export namespace Chai {
|
13 |
|
14 | interface Assertion extends LanguageChains, NumericComparison, TypeComparison {
|
15 | eventually: PromisedAssertion;
|
16 | become(expected: any): PromisedAssertion;
|
17 | fulfilled: PromisedAssertion;
|
18 | rejected: PromisedAssertion;
|
19 | rejectedWith: PromisedThrow;
|
20 | notify(fn: Function): PromisedAssertion;
|
21 | }
|
22 |
|
23 |
|
24 | interface Eventually extends PromisedLanguageChains, PromisedNumericComparison, PromisedTypeComparison {
|
25 |
|
26 | become(expected: any): PromisedAssertion;
|
27 | fulfilled: PromisedAssertion;
|
28 | rejected: PromisedAssertion;
|
29 | rejectedWith: PromisedThrow;
|
30 | notify(fn: Function): PromisedAssertion;
|
31 |
|
32 |
|
33 | not: PromisedAssertion;
|
34 | deep: PromisedDeep;
|
35 | ordered: PromisedOrdered;
|
36 | nested: PromisedNested;
|
37 | any: PromisedKeyFilter;
|
38 | all: PromisedKeyFilter;
|
39 | a: PromisedTypeComparison;
|
40 | an: PromisedTypeComparison;
|
41 | include: PromisedInclude;
|
42 | contain: PromisedInclude;
|
43 | ok: PromisedAssertion;
|
44 | true: PromisedAssertion;
|
45 | false: PromisedAssertion;
|
46 | null: PromisedAssertion;
|
47 | undefined: PromisedAssertion;
|
48 | NaN: PromisedAssertion;
|
49 | exist: PromisedAssertion;
|
50 | empty: PromisedAssertion;
|
51 | arguments: PromisedAssertion;
|
52 | Arguments: PromisedAssertion;
|
53 | equal: PromisedEqual;
|
54 | equals: PromisedEqual;
|
55 | eq: PromisedEqual;
|
56 | eql: PromisedEqual;
|
57 | eqls: PromisedEqual;
|
58 | property: PromisedProperty;
|
59 | ownProperty: PromisedOwnProperty;
|
60 | haveOwnProperty: PromisedOwnProperty;
|
61 | ownPropertyDescriptor: PromisedOwnPropertyDescriptor;
|
62 | haveOwnPropertyDescriptor: PromisedOwnPropertyDescriptor;
|
63 | length: PromisedLength;
|
64 | lengthOf: PromisedLength;
|
65 | match: PromisedMatch;
|
66 | matches: PromisedMatch;
|
67 | string(string: string, message?: string): PromisedAssertion;
|
68 | keys: PromisedKeys;
|
69 | key(string: string): PromisedAssertion;
|
70 | throw: PromisedThrow;
|
71 | throws: PromisedThrow;
|
72 | Throw: PromisedThrow;
|
73 | respondTo: PromisedRespondTo;
|
74 | respondsTo: PromisedRespondTo;
|
75 | itself: PromisedAssertion;
|
76 | satisfy: PromisedSatisfy;
|
77 | satisfies: PromisedSatisfy;
|
78 | closeTo: PromisedCloseTo;
|
79 | approximately: PromisedCloseTo;
|
80 | members: PromisedMembers;
|
81 | increase: PromisedPropertyChange;
|
82 | increases: PromisedPropertyChange;
|
83 | decrease: PromisedPropertyChange;
|
84 | decreases: PromisedPropertyChange;
|
85 | change: PromisedPropertyChange;
|
86 | changes: PromisedPropertyChange;
|
87 | extensible: PromisedAssertion;
|
88 | sealed: PromisedAssertion;
|
89 | frozen: PromisedAssertion;
|
90 | oneOf(list: any[], message?: string): PromisedAssertion;
|
91 | }
|
92 |
|
93 | interface PromisedAssertion extends Eventually, PromiseLike<any> {
|
94 | }
|
95 |
|
96 | interface PromisedLanguageChains {
|
97 | eventually: Eventually;
|
98 |
|
99 |
|
100 | to: PromisedAssertion;
|
101 | be: PromisedAssertion;
|
102 | been: PromisedAssertion;
|
103 | is: PromisedAssertion;
|
104 | that: PromisedAssertion;
|
105 | which: PromisedAssertion;
|
106 | and: PromisedAssertion;
|
107 | has: PromisedAssertion;
|
108 | have: PromisedAssertion;
|
109 | with: PromisedAssertion;
|
110 | at: PromisedAssertion;
|
111 | of: PromisedAssertion;
|
112 | same: PromisedAssertion;
|
113 | but: PromisedAssertion;
|
114 | does: PromisedAssertion;
|
115 | }
|
116 |
|
117 | interface PromisedNumericComparison {
|
118 | above: PromisedNumberComparer;
|
119 | gt: PromisedNumberComparer;
|
120 | greaterThan: PromisedNumberComparer;
|
121 | least: PromisedNumberComparer;
|
122 | gte: PromisedNumberComparer;
|
123 | below: PromisedNumberComparer;
|
124 | lt: PromisedNumberComparer;
|
125 | lessThan: PromisedNumberComparer;
|
126 | most: PromisedNumberComparer;
|
127 | lte: PromisedNumberComparer;
|
128 | within(start: number, finish: number, message?: string): PromisedAssertion;
|
129 | }
|
130 |
|
131 | interface PromisedNumberComparer {
|
132 | (value: number, message?: string): PromisedAssertion;
|
133 | }
|
134 |
|
135 | interface PromisedTypeComparison {
|
136 | (type: string, message?: string): PromisedAssertion;
|
137 | instanceof: PromisedInstanceOf;
|
138 | instanceOf: PromisedInstanceOf;
|
139 | }
|
140 |
|
141 | interface PromisedInstanceOf {
|
142 | (constructor: Object, message?: string): PromisedAssertion;
|
143 | }
|
144 |
|
145 | interface PromisedCloseTo {
|
146 | (expected: number, delta: number, message?: string): PromisedAssertion;
|
147 | }
|
148 |
|
149 | interface PromisedNested {
|
150 | include: PromisedInclude;
|
151 | property: PromisedProperty;
|
152 | members: PromisedMembers;
|
153 | }
|
154 |
|
155 | interface PromisedDeep {
|
156 | equal: PromisedEqual;
|
157 | equals: PromisedEqual;
|
158 | eq: PromisedEqual;
|
159 | include: PromisedInclude;
|
160 | property: PromisedProperty;
|
161 | members: PromisedMembers;
|
162 | ordered: PromisedOrdered;
|
163 | }
|
164 |
|
165 | interface PromisedOrdered {
|
166 | members: PromisedMembers;
|
167 | }
|
168 |
|
169 | interface PromisedKeyFilter {
|
170 | keys: PromisedKeys;
|
171 | }
|
172 |
|
173 | interface PromisedEqual {
|
174 | (value: any, message?: string): PromisedAssertion;
|
175 | }
|
176 |
|
177 | interface PromisedProperty {
|
178 | (name: string | symbol, value?: any, message?: string): PromisedAssertion;
|
179 | }
|
180 |
|
181 | interface PromisedOwnProperty {
|
182 | (name: string | symbol, message?: string): PromisedAssertion;
|
183 | }
|
184 |
|
185 | interface PromisedOwnPropertyDescriptor {
|
186 | (name: string | symbol, descriptor: PropertyDescriptor, message?: string): PromisedAssertion;
|
187 | (name: string | symbol, message?: string): PromisedAssertion;
|
188 | }
|
189 |
|
190 | interface PromisedLength extends PromisedLanguageChains, PromisedNumericComparison {
|
191 | (length: number, message?: string): PromisedAssertion;
|
192 | }
|
193 |
|
194 | interface PromisedInclude {
|
195 | (value: Object, message?: string): PromisedAssertion;
|
196 | (value: string, message?: string): PromisedAssertion;
|
197 | (value: number, message?: string): PromisedAssertion;
|
198 | keys: PromisedKeys;
|
199 | deep: PromisedDeep;
|
200 | ordered: PromisedOrdered;
|
201 | members: PromisedMembers;
|
202 | any: PromisedKeyFilter;
|
203 | all: PromisedKeyFilter;
|
204 | }
|
205 |
|
206 | interface PromisedMatch {
|
207 | (regexp: RegExp | string, message?: string): PromisedAssertion;
|
208 | }
|
209 |
|
210 | interface PromisedKeys {
|
211 | (...keys: string[]): PromisedAssertion;
|
212 | (keys: any[]): PromisedAssertion;
|
213 | (keys: Object): PromisedAssertion;
|
214 | }
|
215 |
|
216 | interface PromisedThrow {
|
217 | (): PromisedAssertion;
|
218 | (expected: string | RegExp, message?: string): PromisedAssertion;
|
219 | (constructor: Error | Function, expected?: string | RegExp, message?: string): PromisedAssertion;
|
220 | }
|
221 |
|
222 | interface PromisedRespondTo {
|
223 | (method: string, message?: string): PromisedAssertion;
|
224 | }
|
225 |
|
226 | interface PromisedSatisfy {
|
227 | (matcher: Function, message?: string): PromisedAssertion;
|
228 | }
|
229 |
|
230 | interface PromisedMembers {
|
231 | (set: any[], message?: string): PromisedAssertion;
|
232 | }
|
233 |
|
234 | interface PromisedPropertyChange {
|
235 | (object: Object, property: string, message?: string): PromisedAssertion;
|
236 | }
|
237 |
|
238 |
|
239 | interface Assert {
|
240 | eventually: PromisedAssert;
|
241 | isFulfilled(promise: PromiseLike<any>, message?: string): PromiseLike<void>;
|
242 | becomes(promise: PromiseLike<any>, expected: any, message?: string): PromiseLike<void>;
|
243 | doesNotBecome(promise: PromiseLike<any>, expected: any, message?: string): PromiseLike<void>;
|
244 | isRejected(promise: PromiseLike<any>, message?: string): PromiseLike<void>;
|
245 | isRejected(promise: PromiseLike<any>, expected: any, message?: string): PromiseLike<void>;
|
246 | isRejected(promise: PromiseLike<any>, match: RegExp, message?: string): PromiseLike<void>;
|
247 | notify(fn: Function): PromiseLike<void>;
|
248 | }
|
249 |
|
250 | export interface PromisedAssert {
|
251 | fail(actual?: PromiseLike<any>, expected?: any, msg?: string, operator?: string): PromiseLike<void>;
|
252 |
|
253 | isOk(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
254 | ok(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
255 | isNotOk(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
256 | notOk(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
257 |
|
258 | equal(act: PromiseLike<any>, exp: any, msg?: string): PromiseLike<void>;
|
259 | notEqual(act: PromiseLike<any>, exp: any, msg?: string): PromiseLike<void>;
|
260 |
|
261 | strictEqual(act: PromiseLike<any>, exp: any, msg?: string): PromiseLike<void>;
|
262 | notStrictEqual(act: PromiseLike<any>, exp: any, msg?: string): PromiseLike<void>;
|
263 |
|
264 | deepEqual(act: PromiseLike<any>, exp: any, msg?: string): PromiseLike<void>;
|
265 | notDeepEqual(act: PromiseLike<any>, exp: any, msg?: string): PromiseLike<void>;
|
266 |
|
267 | isAbove(val: PromiseLike<number>, above: number, msg?: string): PromiseLike<void>;
|
268 | isAtLeast(val: PromiseLike<number>, atLeast: number, msg?: string): PromiseLike<void>;
|
269 | isAtBelow(val: PromiseLike<number>, below: number, msg?: string): PromiseLike<void>;
|
270 | isAtMost(val: PromiseLike<number>, atMost: number, msg?: string): PromiseLike<void>;
|
271 |
|
272 | isTrue(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
273 | isFalse(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
274 |
|
275 | isNotTrue(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
276 | isNotFalse(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
277 |
|
278 | isNull(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
279 | isNotNull(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
280 |
|
281 | isNaN(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
282 | isNotNaN(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
283 |
|
284 | exists(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
285 | notExists(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
286 |
|
287 | isUndefined(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
288 | isDefined(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
289 |
|
290 | isFunction(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
291 | isNotFunction(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
292 |
|
293 | isObject(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
294 | isNotObject(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
295 |
|
296 | isArray(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
297 | isNotArray(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
298 |
|
299 | isString(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
300 | isNotString(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
301 |
|
302 | isNumber(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
303 | isNotNumber(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
304 | isFinite(val: PromiseLike<number>, msg?: string): PromiseLike<void>;
|
305 |
|
306 | isBoolean(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
307 | isNotBoolean(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
308 |
|
309 | typeOf(val: PromiseLike<any>, type: string, msg?: string): PromiseLike<void>;
|
310 | notTypeOf(val: PromiseLike<any>, type: string, msg?: string): PromiseLike<void>;
|
311 |
|
312 | instanceOf(val: PromiseLike<any>, type: Function, msg?: string): PromiseLike<void>;
|
313 | notInstanceOf(val: PromiseLike<any>, type: Function, msg?: string): PromiseLike<void>;
|
314 |
|
315 | include(exp: PromiseLike<string>, inc: any, msg?: string): PromiseLike<void>;
|
316 | include(exp: PromiseLike<any[]>, inc: any, msg?: string): PromiseLike<void>;
|
317 |
|
318 | notInclude(exp: PromiseLike<string>, inc: any, msg?: string): PromiseLike<void>;
|
319 | notInclude(exp: PromiseLike<any[]>, inc: any, msg?: string): PromiseLike<void>;
|
320 |
|
321 | deepInclude(exp: PromiseLike<string>, inc: any, msg?: string): PromiseLike<void>;
|
322 | deepInclude(exp: PromiseLike<any[]>, inc: any, msg?: string): PromiseLike<void>;
|
323 |
|
324 | notDeepInclude(exp: PromiseLike<string>, inc: any, msg?: string): PromiseLike<void>;
|
325 | notDeepInclude(exp: PromiseLike<any[]>, inc: any, msg?: string): PromiseLike<void>;
|
326 |
|
327 | nestedInclude(exp: PromiseLike<Object>, inc: Object, msg?: string): PromiseLike<void>;
|
328 | notNestedInclude(exp: PromiseLike<Object>, inc: Object, msg?: string): PromiseLike<void>;
|
329 |
|
330 | deepNestedInclude(exp: PromiseLike<Object>, inc: Object, msg?: string): PromiseLike<void>;
|
331 | notDeepNestedInclude(exp: PromiseLike<Object>, inc: Object, msg?: string): PromiseLike<void>;
|
332 |
|
333 | ownInclude(exp: PromiseLike<Object>, inc: Object, msg?: string): PromiseLike<void>;
|
334 | notOwnInclude(exp: PromiseLike<Object>, inc: Object, msg?: string): PromiseLike<void>;
|
335 |
|
336 | deepOwnInclude(exp: PromiseLike<Object>, inc: Object, msg?: string): PromiseLike<void>;
|
337 | notDeepOwnInclude(exp: PromiseLike<Object>, inc: Object, msg?: string): PromiseLike<void>;
|
338 |
|
339 | match(exp: PromiseLike<any>, re: RegExp, msg?: string): PromiseLike<void>;
|
340 | notMatch(exp: PromiseLike<any>, re: RegExp, msg?: string): PromiseLike<void>;
|
341 |
|
342 | property(obj: PromiseLike<Object>, prop: string, msg?: string): PromiseLike<void>;
|
343 | notProperty(obj: PromiseLike<Object>, prop: string, msg?: string): PromiseLike<void>;
|
344 | deepProperty(obj: PromiseLike<Object>, prop: string, msg?: string): PromiseLike<void>;
|
345 | notDeepProperty(obj: PromiseLike<Object>, prop: string, msg?: string): PromiseLike<void>;
|
346 |
|
347 | propertyVal(obj: PromiseLike<Object>, prop: string, val: any, msg?: string): PromiseLike<void>;
|
348 | propertyNotVal(obj: PromiseLike<Object>, prop: string, val: any, msg?: string): PromiseLike<void>;
|
349 |
|
350 | deepPropertyVal(obj: PromiseLike<Object>, prop: string, val: any, msg?: string): PromiseLike<void>;
|
351 | deepPropertyNotVal(obj: PromiseLike<Object>, prop: string, val: any, msg?: string): PromiseLike<void>;
|
352 |
|
353 | nestedProperty(obj: PromiseLike<object>, prop: string, msg?: string): PromiseLike<void>;
|
354 | notNestedProperty(obj: PromiseLike<object>, prop: string, msg?: string): PromiseLike<void>;
|
355 | nestedPropertyVal(obj: PromiseLike<object>, prop: string, val: any, msg?: string): PromiseLike<void>;
|
356 | notNestedPropertyVal(obj: PromiseLike<object>, prop: string, val: any, msg?: string): PromiseLike<void>;
|
357 |
|
358 | deepNestedPropertyVal(obj: PromiseLike<object>, prop: string, val: any, msg?: string): PromiseLike<void>;
|
359 | notDeepNestedPropertyVal(obj: PromiseLike<object>, prop: string, val: any, msg?: string): PromiseLike<void>;
|
360 |
|
361 | lengthOf(exp: PromiseLike<any>, len: number, msg?: string): PromiseLike<void>;
|
362 |
|
363 | hasAnyKeys(obj: PromiseLike<any>, keys: any[], msg?: string): PromiseLike<void>;
|
364 | hasAnyKeys(obj: PromiseLike<any>, keys: object, msg?: string): PromiseLike<void>;
|
365 |
|
366 | hasAllKeys(obj: PromiseLike<any>, keys: any[], msg?: string): PromiseLike<void>;
|
367 | hasAllKeys(obj: PromiseLike<any>, keys: object, msg?: string): PromiseLike<void>;
|
368 |
|
369 | containsAllKeys(obj: PromiseLike<any>, keys: any[], msg?: string): PromiseLike<void>;
|
370 | containsAllKeys(obj: PromiseLike<any>, keys: object, msg?: string): PromiseLike<void>;
|
371 |
|
372 | doesNotHaveAnyKeys(obj: PromiseLike<any>, keys: any[], msg?: string): PromiseLike<void>;
|
373 | doesNotHaveAnyKeys(obj: PromiseLike<any>, keys: object, msg?: string): PromiseLike<void>;
|
374 |
|
375 | doesNotHaveAllKeys(obj: PromiseLike<any>, keys: any[], msg?: string): PromiseLike<void>;
|
376 | doesNotHaveAllKeys(obj: PromiseLike<any>, keys: object, msg?: string): PromiseLike<void>;
|
377 |
|
378 | hasAnyDeepKeys(obj: PromiseLike<any>, keys: any[], msg?: string): PromiseLike<void>;
|
379 | hasAnyDeepKeys(obj: PromiseLike<any>, keys: object, msg?: string): PromiseLike<void>;
|
380 |
|
381 | hasAllDeepKeys(obj: PromiseLike<any>, keys: any[], msg?: string): PromiseLike<void>;
|
382 | hasAllDeepKeys(obj: PromiseLike<any>, keys: object, msg?: string): PromiseLike<void>;
|
383 |
|
384 | containsAllDeepKeys(obj: PromiseLike<any>, keys: any[], msg?: string): PromiseLike<void>;
|
385 | containsAllDeepKeys(obj: PromiseLike<any>, keys: object, msg?: string): PromiseLike<void>;
|
386 |
|
387 | doesNotHaveAnyDeepKeys(obj: PromiseLike<any>, keys: any[], msg?: string): PromiseLike<void>;
|
388 | doesNotHaveAnyDeepKeys(obj: PromiseLike<any>, keys: object, msg?: string): PromiseLike<void>;
|
389 |
|
390 | doesNotHaveAllDeepKeys(obj: PromiseLike<any>, keys: any[], msg?: string): PromiseLike<void>;
|
391 | doesNotHaveAllDeepKeys(obj: PromiseLike<any>, keys: object, msg?: string): PromiseLike<void>;
|
392 |
|
393 |
|
394 | throw(fn: Function, msg?: string): PromiseLike<void>;
|
395 | throw(fn: Function, regExp: RegExp): PromiseLike<void>;
|
396 | throw(fn: Function, errType: Function, msg?: string): PromiseLike<void>;
|
397 | throw(fn: Function, errType: Function, regExp: RegExp): PromiseLike<void>;
|
398 |
|
399 | throws(fn: Function, msg?: string): PromiseLike<void>;
|
400 | throws(fn: Function, regExp: RegExp): PromiseLike<void>;
|
401 | throws(fn: Function, errType: Function, msg?: string): PromiseLike<void>;
|
402 | throws(fn: Function, errType: Function, regExp: RegExp): PromiseLike<void>;
|
403 |
|
404 | Throw(fn: Function, msg?: string): PromiseLike<void>;
|
405 | Throw(fn: Function, regExp: RegExp): PromiseLike<void>;
|
406 | Throw(fn: Function, errType: Function, msg?: string): PromiseLike<void>;
|
407 | Throw(fn: Function, errType: Function, regExp: RegExp): PromiseLike<void>;
|
408 |
|
409 | doesNotThrow(fn: Function, msg?: string): PromiseLike<void>;
|
410 | doesNotThrow(fn: Function, regExp: RegExp): PromiseLike<void>;
|
411 | doesNotThrow(fn: Function, errType: Function, msg?: string): PromiseLike<void>;
|
412 | doesNotThrow(fn: Function, errType: Function, regExp: RegExp): PromiseLike<void>;
|
413 |
|
414 | operator(val: PromiseLike<any>, operator: string, val2: any, msg?: string): PromiseLike<void>;
|
415 | closeTo(act: PromiseLike<number>, exp: number, delta: number, msg?: string): PromiseLike<void>;
|
416 | approximately(act: PromiseLike<number>, exp: number, delta: number, msg?: string): PromiseLike<void>;
|
417 |
|
418 | sameMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
419 | sameDeepMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
420 | sameOrderedMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
421 | notSameOrderedMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
422 | sameDeepOrderedMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
423 | notSameDeepOrderedMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
424 | includeOrderedMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
425 | notIncludeOrderedMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
426 | includeDeepOrderedMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
427 | notIncludeDeepOrderedMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
428 | includeMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
429 | includeDeepMembers(set1: PromiseLike<any[]>, set2: any[], msg?: string): PromiseLike<void>;
|
430 |
|
431 | oneOf(val: PromiseLike<any>, list: any[], msg?: string): PromiseLike<void>;
|
432 |
|
433 | changes(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
|
434 | changesBy(
|
435 | modifier: Function,
|
436 | obj: object,
|
437 | property: string,
|
438 | change: number,
|
439 | msg?: string,
|
440 | ): PromiseLike<void>;
|
441 | doesNotChange(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
|
442 | changesButNotBy(
|
443 | modifier: Function,
|
444 | obj: object,
|
445 | property: string,
|
446 | change: number,
|
447 | msg?: string,
|
448 | ): PromiseLike<void>;
|
449 | increases(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
|
450 | increasesBy(
|
451 | modifier: Function,
|
452 | obj: Object,
|
453 | property: string,
|
454 | change: number,
|
455 | msg?: string,
|
456 | ): PromiseLike<void>;
|
457 | doesNotIncrease(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
|
458 | increasesButNotBy(
|
459 | modifier: Function,
|
460 | obj: Object,
|
461 | property: string,
|
462 | change: number,
|
463 | msg?: string,
|
464 | ): PromiseLike<void>;
|
465 | decreases(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
|
466 | decreasesBy(
|
467 | modifier: Function,
|
468 | obj: Object,
|
469 | property: string,
|
470 | change: number,
|
471 | msg?: string,
|
472 | ): PromiseLike<void>;
|
473 | doesNotDecrease(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
|
474 | decreasesButNotBy(
|
475 | modifier: Function,
|
476 | obj: Object,
|
477 | property: string,
|
478 | change: number,
|
479 | msg?: string,
|
480 | ): PromiseLike<void>;
|
481 |
|
482 | ifError(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
483 |
|
484 | isExtensible(obj: PromiseLike<Object>, msg?: string): PromiseLike<void>;
|
485 | isNotExtensible(obj: PromiseLike<Object>, msg?: string): PromiseLike<void>;
|
486 |
|
487 | isSealed(obj: PromiseLike<Object>, msg?: string): PromiseLike<void>;
|
488 | sealed(obj: PromiseLike<Object>, msg?: string): PromiseLike<void>;
|
489 | isNotSealed(obj: PromiseLike<Object>, msg?: string): PromiseLike<void>;
|
490 | notSealed(obj: PromiseLike<Object>, msg?: string): PromiseLike<void>;
|
491 |
|
492 | isFrozen(obj: PromiseLike<Object>, msg?: string): PromiseLike<void>;
|
493 | frozen(obj: PromiseLike<Object>, msg?: string): PromiseLike<void>;
|
494 | isNotFrozen(obj: PromiseLike<Object>, msg?: string): PromiseLike<void>;
|
495 | notFrozen(obj: PromiseLike<Object>, msg?: string): PromiseLike<void>;
|
496 |
|
497 | isEmpty(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
498 | isNotEmpty(val: PromiseLike<any>, msg?: string): PromiseLike<void>;
|
499 | }
|
500 | }
|
501 | }
|