For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/react/testing-library/Interfaces/PrettyDOMOptions.md.
Lynx
  • English
    • 简体中文
  • Interface: PrettyDOMOptions

    Extends

    Properties

    callToJSON?

    optional callToJSON?: boolean

    Inherited from

    prettyFormat.OptionsReceived.callToJSON


    compareKeys?

    optional compareKeys?: CompareKeys

    Inherited from

    prettyFormat.OptionsReceived.compareKeys


    escapeRegex?

    optional escapeRegex?: boolean

    Inherited from

    prettyFormat.OptionsReceived.escapeRegex


    escapeString?

    optional escapeString?: boolean

    Inherited from

    prettyFormat.OptionsReceived.escapeString


    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

    ParameterType
    nodeNode

    Returns

    boolean


    highlight?

    optional highlight?: boolean

    Inherited from

    prettyFormat.OptionsReceived.highlight


    indent?

    optional indent?: number

    Inherited from

    prettyFormat.OptionsReceived.indent


    maxDepth?

    optional maxDepth?: number

    Inherited from

    prettyFormat.OptionsReceived.maxDepth


    min?

    optional min?: boolean

    Inherited from

    prettyFormat.OptionsReceived.min


    plugins?

    optional plugins?: Plugins

    Inherited from

    prettyFormat.OptionsReceived.plugins


    printBasicPrototype?

    optional printBasicPrototype?: boolean

    Inherited from

    prettyFormat.OptionsReceived.printBasicPrototype


    printFunctionName?

    optional printFunctionName?: boolean

    Inherited from

    prettyFormat.OptionsReceived.printFunctionName


    theme?

    optional theme?: ThemeReceived

    Inherited from

    prettyFormat.OptionsReceived.theme

    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.