Skip to content

API Reference / @gtkx/testing / QueryAllBy

Type Alias: QueryAllBy<Args, Element> ​

QueryAllBy<Args, Element> = (container, ...args) => Element[]

Defined in: packages/testing/src/build-queries.ts:15

The queryAllBy function a query family is built from, taking the scope to search followed by the family's own matcher arguments. Its name determines the family name, so queryAllByTestId builds a TestId family.

Type Parameters ​

Args ​

Args extends unknown[]

Element ​

Element extends Gtk.Accessible = Gtk.Accessible

Parameters ​

container ​

Container

args ​

...Args

Returns ​

Element[]