Skip to main content

Type Alias: Config

Config = object

Defined in: config.ts:6

Configuration options for the testing library.

Properties

getElementError()

getElementError: (message, container) => Error

Defined in: config.ts:17

Custom error factory for query failures. Allows customizing how errors are constructed.

Parameters

ParameterType
messagestring
containerContainer

Returns

Error


showSuggestions

showSuggestions: boolean

Defined in: config.ts:11

Whether to show role suggestions in error messages when elements are not found.

Default

true