Skip to main content
What renderWithTap returns: Testing Library’s result plus the bridge.

Extends

  • RenderResult

Properties

asFragment

Returns

DocumentFragment

Inherited from


baseElement

Inherited from


container

Inherited from


debug

Parameters

baseElement?
Container | Container[]
maxLength?
number
options?
PrettyFormatOptions

Returns

void

Inherited from


findAllByAltText

Parameters

args
…[Matcher, MatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findAllByDisplayValue

Parameters

args
…[Matcher, MatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findAllByLabelText

Parameters

args
…[Matcher, SelectorMatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findAllByPlaceholderText

Parameters

args
…[Matcher, MatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findAllByRole

Parameters

args
…[ByRoleMatcher, ByRoleOptions, waitForOptions]

Returns

Promise

Inherited from


findAllByTestId

Parameters

args
…[Matcher, MatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findAllByText

Parameters

args
…[Matcher, SelectorMatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findAllByTitle

Parameters

args
…[Matcher, MatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findByAltText

Parameters

args
…[Matcher, MatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findByDisplayValue

Parameters

args
…[Matcher, MatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findByLabelText

Parameters

args
…[Matcher, SelectorMatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findByPlaceholderText

Parameters

args
…[Matcher, MatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findByRole

Parameters

args
…[ByRoleMatcher, ByRoleOptions, waitForOptions]

Returns

Promise

Inherited from


findByTestId

Parameters

args
…[Matcher, MatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findByText

Parameters

args
…[Matcher, SelectorMatcherOptions, waitForOptions]

Returns

Promise

Inherited from


findByTitle

Parameters

args
…[Matcher, MatcherOptions, waitForOptions]

Returns

Promise

Inherited from


getAllByAltText

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement[]

Inherited from


getAllByDisplayValue

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement[]

Inherited from


getAllByLabelText

Parameters

args
…[Matcher, SelectorMatcherOptions]

Returns

HTMLElement[]

Inherited from


getAllByPlaceholderText

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement[]

Inherited from


getAllByRole

Parameters

args
…[ByRoleMatcher, ByRoleOptions]

Returns

HTMLElement[]

Inherited from


getAllByTestId

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement[]

Inherited from


getAllByText

Parameters

args
…[Matcher, SelectorMatcherOptions]

Returns

HTMLElement[]

Inherited from


getAllByTitle

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement[]

Inherited from


getByAltText

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement

Inherited from


getByDisplayValue

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement

Inherited from


getByLabelText

Parameters

args
…[Matcher, SelectorMatcherOptions]

Returns

HTMLElement

Inherited from


getByPlaceholderText

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement

Inherited from


getByRole

Parameters

args
…[ByRoleMatcher, ByRoleOptions]

Returns

HTMLElement

Inherited from


getByTestId

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement

Inherited from


getByText

Parameters

args
…[Matcher, SelectorMatcherOptions]

Returns

HTMLElement

Inherited from


getByTitle

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement

Inherited from


mock

The mock behind the bridge, which the matchers take.

queryAllByAltText

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement[]

Inherited from


queryAllByDisplayValue

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement[]

Inherited from


queryAllByLabelText

Parameters

args
…[Matcher, SelectorMatcherOptions]

Returns

HTMLElement[]

Inherited from


queryAllByPlaceholderText

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement[]

Inherited from


queryAllByRole

Parameters

args
…[ByRoleMatcher, ByRoleOptions]

Returns

HTMLElement[]

Inherited from


queryAllByTestId

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement[]

Inherited from


queryAllByText

Parameters

args
…[Matcher, SelectorMatcherOptions]

Returns

HTMLElement[]

Inherited from


queryAllByTitle

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement[]

Inherited from


queryByAltText

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement | null

Inherited from


queryByDisplayValue

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement | null

Inherited from


queryByLabelText

Parameters

args
…[Matcher, SelectorMatcherOptions]

Returns

HTMLElement | null

Inherited from


queryByPlaceholderText

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement | null

Inherited from


queryByRole

Parameters

args
…[ByRoleMatcher, ByRoleOptions]

Returns

HTMLElement | null

Inherited from


queryByTestId

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement | null

Inherited from


queryByText

Parameters

args
…[Matcher, SelectorMatcherOptions]

Returns

HTMLElement | null

Inherited from


queryByTitle

Parameters

args
…[Matcher, MatcherOptions]

Returns

HTMLElement | null

Inherited from


queryClient

The client the render used, whether it was passed in or built here.

rerender

Parameters

ui
ReactNode

Returns

void

Inherited from


tap

The same object useTap returns inside the component.

unmount

Returns

void

Inherited from