次の方法で共有


AssertNoActivity class

基本的なアサーション TestAction。応答アクティビティに対してアサーションを検証します。

Extends

プロパティ

$kind
description

このアサーションの説明。

メソッド

execute(TestAdapter, (context: TurnContext) => Promise<void>, Inspector)

テストを実行します。

getConditionDescription()

アクティビティのアサートするテキストを取得します。

継承されたメソッド

configure(Record<string, unknown>)

オブジェクトを構成するための Fluent メソッド。

getConverter(string)

プロパティの詳細

$kind

static $kind: string

プロパティ値

string

description

このアサーションの説明。

description: string

プロパティ値

string

メソッドの詳細

execute(TestAdapter, (context: TurnContext) => Promise<void>, Inspector)

テストを実行します。

function execute(adapter: TestAdapter, _callback: (context: TurnContext) => Promise<void>, _inspector?: Inspector): Promise<void>

パラメーター

adapter

TestAdapter

実行対象のアダプター。

_callback

(context: TurnContext) => Promise<void>

ボットが使用するロジック。

_inspector
Inspector

ダイアログ コンテキストのインスペクター。

戻り値

Promise<void>

getConditionDescription()

アクティビティのアサートするテキストを取得します。

function getConditionDescription(): string

戻り値

string

形容。

継承済みメソッドの詳細

configure(Record<string, unknown>)

オブジェクトを構成するための Fluent メソッド。

function configure(config: Record<string, unknown>): this

パラメーター

config

Record<string, unknown>

適用する構成設定。

戻り値

this

操作が完了した後の 構成可能な

継承 構成可能。configure

getConverter(string)

function getConverter(_property: string): Converter | ConverterFactory

パラメーター

_property

string

条件付きセレクター構成のキー。

戻り値

Converter | ConverterFactory

セレクター構成のコンバーター。

継承元 構成可能な.getConverter