TestAction class
Abstract base class for scripted actions.
- Extends
-
Configurable
Methods
execute(Test |
Inherited Methods
configure(Record<string, unknown>) | Fluent method for configuring the object. |
get |
Method Details
execute(TestAdapter, (context: TurnContext) => Promise<void>, Inspector)
function execute(adapter: TestAdapter, callback: (context: TurnContext) => Promise<void>, inspector?: Inspector)
Parameters
- adapter
-
TestAdapter
- callback
-
(context: TurnContext) => Promise<void>
- inspector
- Inspector
Inherited Method Details
configure(Record<string, unknown>)
Fluent method for configuring the object.
function configure(config: Record<string, unknown>): this
Parameters
- config
-
Record<string, unknown>
Configuration settings to apply.
Returns
this
The Configurable after the operation is complete.
Inherited From Configurable.configure
getConverter(string)
function getConverter(_property: string): Converter | ConverterFactory
Parameters
- _property
-
string
The key of the conditional selector configuration.
Returns
Converter | ConverterFactory
The converter for the selector configuration.
Inherited From Configurable.getConverter