搜索文档
reactlynx-testing-library / PrettyDOMOptions
prettyFormat
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.
Node
false
<style />
<script />
node
boolean
index.d.ts:978