@botmesh/core - v2.0.0-alpha.2
Guide
Preparing search index...
@botmesh/core/testing
createTestBot
Function createTestBot
createTestBot
(
config
?:
Omit
<
BotConfig
,
"provider"
>
,
options
?:
CreateTestBotOptions
&
{
chaos
?:
undefined
}
,
)
:
Promise
<
TestBot
>
Parameters
Optional
config
:
Omit
<
BotConfig
,
"provider"
>
Optional
options
:
CreateTestBotOptions
&
{
chaos
?:
undefined
}
Returns
Promise
<
TestBot
>
createTestBot
(
config
:
Omit
<
BotConfig
,
"provider"
>
|
undefined
,
options
:
CreateTestBotOptions
&
{
chaos
:
ChaosOptions
}
,
)
:
Promise
<
TestBot
&
{
chaos
:
ChaosProvider
<
MockProvider
>
}
>
Parameters
config
:
Omit
<
BotConfig
,
"provider"
>
|
undefined
options
:
CreateTestBotOptions
&
{
chaos
:
ChaosOptions
}
Returns
Promise
<
TestBot
&
{
chaos
:
ChaosProvider
<
MockProvider
>
}
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Guide
@botmesh/core - v2.0.0-alpha.2
Loading...