Assertion

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

+ new Assertion(asserter: Asserter): Assertion

Creates an instance of Assertion. Creates an instance of Assertion.

Parameters:

NameTypeDescription
asserterAsserterInstance 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.