@eveble/eveble
Hierarchy
- Asserter
Implemented by
Index
Methods
- assert
- clearAction
- getAction
- getApi
- getAssertions
- getEntity
- hasAction
- hasApi
- hasAssertion
- registerAssertion
- setAction
- setEntity
Methods
assert
▸ assert(): Asserter
Returns: Asserter
▸ assert(): Asserter
Returns: Asserter
clearAction
▸ clearAction(): void
Returns: void
▸ clearAction(): void
Returns: void
getAction
▸ getAction(): Stringifiable | MessageType‹Message› | undefined
Returns: Stringifiable | MessageType‹Message› | undefined
▸ getAction(): Stringifiable | MessageType‹Message› | undefined
Returns: Stringifiable | MessageType‹Message› | undefined
getApi
▸ getApi(): Map‹string, Function›
Returns: Map‹string, Function›
▸ getApi(): Map‹string, Function›
Returns: Map‹string, Function›
getAssertions
▸ getAssertions(): Assertion[]
Returns: Assertion[]
▸ getAssertions(): Assertion[]
Returns: Assertion[]
getEntity
▸ getEntity(): Entity
Returns: Entity
▸ getEntity(): Entity
Returns: Entity
hasAction
▸ hasAction(): boolean
Returns: boolean
▸ hasAction(): boolean
Returns: boolean
hasApi
▸ hasApi(path
: string): boolean
Parameters:
Name | Type |
---|---|
path | string |
Returns: boolean
▸ hasApi(path
: string): boolean
Parameters:
Name | Type |
---|---|
path | string |
Returns: boolean
hasAssertion
▸ hasAssertion(assertionCtor
: any): boolean
Parameters:
Name | Type |
---|---|
assertionCtor | any |
Returns: boolean
▸ hasAssertion(assertionCtor
: any): boolean
Parameters:
Name | Type |
---|---|
assertionCtor | any |
Returns: boolean
registerAssertion
▸ registerAssertion(assertion
: Assertion): void
Parameters:
Name | Type |
---|---|
assertion | Assertion |
Returns: void
▸ registerAssertion(assertion
: Assertion): void
Parameters:
Name | Type |
---|---|
assertion | Assertion |
Returns: void
setAction
▸ setAction(action
: Stringifiable | MessageType‹Message›): void
Parameters:
Name | Type |
---|---|
action | Stringifiable | MessageType‹Message› |
Returns: void
▸ setAction(action
: Stringifiable | MessageType‹Message›): void
Parameters:
Name | Type |
---|---|
action | Stringifiable | MessageType‹Message› |
Returns: void
setEntity
▸ setEntity(entity
: Entity): void
Parameters:
Name | Type |
---|---|
entity | Entity |
Returns: void
▸ setEntity(entity
: Entity): void
Parameters:
Name | Type |
---|---|
entity | Entity |
Returns: void