1
+ declare class ExpectHelper {
2
+ expectEqual ( actualValue : any , expectedValue : any , customErrorMsg ?: string ) : void ;
3
+ expectNotEqual ( actualValue : any , expectedValue : any , customErrorMsg ?: string ) : void ;
4
+ expectDeepEqual ( actualValue : any , expectedValue : any , customErrorMsg ?: string ) : void ;
5
+ expectNotDeepEqual ( actualValue : any , expectedValue : any , customErrorMsg ?: string ) : void ;
6
+ expectContain ( actualValue : any , expectedValueToContain : any , customErrorMsg ?: string ) : void ;
7
+ expectNotContain ( actualValue : any , expectedValueToNotContain : any , customErrorMsg ?: string ) : void ;
8
+ expectStartsWith ( actualValue : string , expectedValueToStartWith : string , customErrorMsg ?: string ) : void ;
9
+ expectNotStartsWith ( actualValue : string , expectedValueToNotStartWith : string , customErrorMsg ?: string ) : void ;
10
+ expectEndsWith ( actualValue : string , expectedValueToEndWith : string , customErrorMsg ?: string ) : void ;
11
+ expectNotEndsWith ( actualValue : string , expectedValueToNotEndWith : string , customErrorMsg ?: string ) : void ;
12
+ expectJsonSchema ( targetData : any , jsonSchema : any , customErrorMsg ?: string ) : void ;
13
+ expectJsonSchemaUsingAJV ( targetData : any , jsonSchema : any , customErrorMsg ?: string , ajvOptions ?: any ) : void ;
14
+ expectHasProperty ( targetData : any , propertyName : string , customErrorMsg ?: string ) : void ;
15
+ expectToBeA ( targetData : any , type : string , customErrorMsg ?: string ) : void ;
16
+ expectToBeAn ( targetData : any , type : string , customErrorMsg ?: string ) : void ;
17
+ expectMatchRegex ( targetData : string , regex : RegExp , customErrorMsg ?: string ) : void ;
18
+ expectLengthOf ( targetData : any , length : number , customErrorMsg ?: string ) : void ;
19
+ expectEmpty ( targetData : any , customErrorMsg ?: string ) : void ;
20
+ expectTrue ( targetData : any , customErrorMsg ?: string ) : void ;
21
+ expectFalse ( targetData : any , customErrorMsg ?: string ) : void ;
22
+ expectAbove ( targetData : number , aboveThan : number , customErrorMsg ?: string ) : void ;
23
+ expectBelow ( targetData : number , belowThan : number , customErrorMsg ?: string ) : void ;
24
+ expectDeepMembers ( actualValue : any [ ] , expectedValue : any [ ] , customErrorMsg ?: string ) : void ;
25
+ expectDeepIncludeMembers ( superset : any [ ] , set : any [ ] , customErrorMsg ?: string ) : void ;
26
+ expectDeepEqualExcluding ( actualValue : any , expectedValue : any , fieldsToExclude : string | string [ ] , customErrorMsg ?: string ) : void ;
27
+ expectMatchesPattern ( actualValue : object , expectedPattern : object , customErrorMsg ?: string ) : void ;
28
+ }
0 commit comments