reactlynx-testing-library / Screen

Type Alias: Screen<Q>

type Screen<Q>: BoundFunctions<Q> & object;

Type declaration

debug()

debug: (element?: (Element | HTMLDocument)[] | Element | HTMLDocument, maxLength?: number, options?: prettyFormat) => void;

Convenience function for pretty-dom which also allows an array of elements

Parameters

ParameterType
element?(Element | HTMLDocument)[] | Element | HTMLDocument
maxLength?number
options?prettyFormat

Returns

void

logTestingPlaygroundURL()

logTestingPlaygroundURL: (element?: Element | HTMLDocument) => string;

Convenience function for Testing Playground which logs and returns the URL that can be opened in a browser

Parameters

ParameterType
element?Element | HTMLDocument

Returns

string

Type Parameters

Type ParameterDefault type
Q extends Queriestypeof queries

Defined in

index.d.ts:1430

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.