findByTestIdAsync

external fun <T : HTMLElement> findByTestIdAsync(container: HTMLElement, id: Matcher, options: MatcherOptions = definedExternally, waitForElementOptions: waitForOptions = definedExternally): Promise<T>(source)