We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73ca23e commit 3f439edCopy full SHA for 3f439ed
1 file changed
packages/pretty-format/src/plugins/dom_element.js
@@ -37,7 +37,7 @@ type Comment = {
37
data: string,
38
nodeType: 8,
39
};
40
-type Fragment = {
+type DocumentFragment = {
41
children: Array<Element>,
42
nodeType: 11,
43
@@ -69,7 +69,7 @@ const propsReducer = (props, attribute) => {
69
70
71
export const serialize = (
72
- node: Element | Text | Comment | Fragment,
+ node: Element | Text | Comment | DocumentFragment,
73
config: Config,
74
indentation: string,
75
depth: number,
0 commit comments