reactlynx-testing-library / PrettyDOMOptions

Interface: PrettyDOMOptions

Extends

Properties

filterNode()?

optional filterNode: (node: Node) => boolean;

Given a Node return false if you wish to ignore that node in the output. By default, ignores <style />, <script /> and comment nodes.

Parameters

Parameter Type
node Node

Returns

boolean

Defined in

index.d.ts:978

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.