Skip to main content
Module

x/fresh_testing_library/components.ts>FindByRole

Utilities for testing fresh apps
Go to Latest
type alias FindByRole
import { type FindByRole } from "https://deno.land/x/fresh_testing_library@0.13.0/components.ts";

Type Parameters

optional
T extends HTMLElement = HTMLElement
definition: (
container: HTMLElement,
options?: ByRoleOptions,
waitForElementOptions?: waitForOptions,
) => Promise<T>