API Reference / @gtkx/testing / Config
Type Alias: Config
Config =
object
Defined in: config.d.ts:7
Global configuration for the testing harness, controlling query behavior, error formatting, and the timeouts used by async utilities and actionability checks.
Properties
actionabilityTimeout
actionabilityTimeout:
number
Defined in: config.d.ts:14
Timeout in milliseconds for waiting on a widget to become actionable.
asyncUtilTimeout
asyncUtilTimeout:
number
Defined in: config.d.ts:12
Default timeout in milliseconds for async utilities such as waitFor.
getElementError
getElementError: (
message,container?) =>Error
Defined in: config.d.ts:10
Builds the error thrown when a query fails, given a message and optional container.
Parameters
message
string
container?
Returns
Error
throwSuggestions
throwSuggestions:
boolean
Defined in: config.d.ts:8