Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fresh_testing_library/components.ts>Config

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

Properties

testIdAttribute: string
asyncUtilTimeout: number
computedStyleSupportsPseudoElements: boolean
defaultHidden: boolean
defaultIgnore: string

default value for the ignore option in ByText queries

showOriginalStackTrace: boolean
throwSuggestions: boolean
getElementError: (message: string | null, container: Element) => Error

Methods

unstable_advanceTimersWrapper(cb: (...args: unknown[]) => unknown): unknown

WARNING: unstable prefix means this API may change in patch and minor releases.

asyncWrapper(cb: (...args: any[]) => any): Promise<any>
eventWrapper(cb: (...args: any[]) => any): void