babylon-testing-library
Version:
Simple utilities that encourage good testing practices for Babylon.js
6 lines (5 loc) • 923 B
TypeScript
import { Control } from '@babylonjs/gui';
import { BabylonContainer } from './utils';
declare const queryAllByPlaceholderText: (container: BabylonContainer, text: string) => Control[];
declare const queryByPlaceholderText: (container: BabylonContainer, matcher: string) => Control, getAllByPlaceholderText: (container: BabylonContainer, matcher: string) => Control[], getByPlaceholderText: (container: BabylonContainer, matcher: string) => Control, findAllByPlaceholderText: (container: BabylonContainer, matcher: string, waitForOptions?: import("@testing-library/dom").waitForOptions) => Promise<Control[]>, findByPlaceholderText: (container: BabylonContainer, matcher: string, waitForOptions?: import("@testing-library/dom").waitForOptions) => Promise<Control>;
export { queryAllByPlaceholderText, queryByPlaceholderText, getAllByPlaceholderText, getByPlaceholderText, findAllByPlaceholderText, findByPlaceholderText, };