Class TestInput
Properties
Static turnNumber
turnNumber: number = 1
Methods
Static intent
- intent(nameOrIntent: string | Intent, slotValues?: undefined | object): ControlInput
-
Parameters
-
nameOrIntent: string | Intent
-
Optional slotValues: undefined | object
Static launchRequest
-
Static of
-
Parameters
-
nameOrIntent: Intent | string
Static reset
-
Returns void
Static simpleUserEvent
- simpleUserEvent(args: any[], token?: string, locale?: string): ControlInput
-
Parameters
-
args: any[]
-
Default value token: string = "token"
-
Default value locale: string = "en-US"
Static userEvent
-
Parameters
Utility to create Input objects for use in tests.