Assertion
Hierarchy
Assertion
Index
Constructors
Properties
Methods
Constructors
constructor
+ new Assertion(asserter
: Asserter): Assertion
Creates an instance of Assertion. Creates an instance of Assertion.
Parameters:
Name | Type | Description |
---|---|---|
asserter | Asserter | Instance implementing Asserter interface. |
Returns: Assertion
Properties
api
• api: Map‹string, Function›
asserter
• asserter: Asserter
Methods
getApi
▸ getApi(): Map‹string, Function›
Return assertion api for current assertion.
Returns: Map‹string, Function›
Mappings of exposed api assertions.