|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | 3 | exports[`ObjectInspector - classnames has the expected class 1`] = ` |
4 | | -<ObjectInspector |
5 | | - autoExpandDepth={0} |
6 | | - getObjectProperties={[Function]} |
7 | | - loadObjectProperties={[Function]} |
8 | | - roots={ |
9 | | - Array [ |
10 | | - Object { |
11 | | - "contents": Object { |
12 | | - "value": 42, |
13 | | - }, |
14 | | - "name": "root", |
15 | | - "path": "root", |
16 | | - }, |
17 | | - ] |
18 | | - } |
19 | | -/> |
| 4 | +"<ObjectInspector autoExpandDepth={0} roots={{...}} getObjectProperties={[Function]} loadObjectProperties={[Function]}> |
| 5 | + <Tree className=\\"\\" autoExpandAll={true} autoExpandDepth={0} disabledFocus={[undefined]} itemHeight={20} isExpanded={[Function]} focused={{...}} getRoots={[Function]} getParent={[Function]} getChildren={[Function]} getKey={[Function]} onExpand={[Function]} onCollapse={[Function]} onFocus={[Function]} renderItem={[Function]}> |
| 6 | + <div className=\\"tree \\" onKeyDown={[Function]} onKeyPress={[Function]} onKeyUp={[Function]} onScroll={[Function]} style={{...}}> |
| 7 | + <TreeNode index={0} item={{...}} depth={0} renderItem={[Function]} focused={false} expanded={false} hasChildren={false} onExpand={[Function]} onCollapse={[Function]} onFocus={[Function]}> |
| 8 | + <div className=\\"tree-node div \\" onFocus={[Function]} onClick={[Function]} onBlur={[undefined]} style={{...}}> |
| 9 | + <div className=\\"node object-node\\" style={{...}} onClick={{...}} onDoubleClick={{...}}> |
| 10 | + <span className=\\"object-label\\" onClick={{...}}> |
| 11 | + root |
| 12 | + </span> |
| 13 | + <span className=\\"object-delimiter\\"> |
| 14 | + : |
| 15 | + </span> |
| 16 | + <span className=\\"objectBox objectBox-number\\"> |
| 17 | + 42 |
| 18 | + </span> |
| 19 | + </div> |
| 20 | + <button style={{...}} /> |
| 21 | + </div> |
| 22 | + </TreeNode> |
| 23 | + </div> |
| 24 | + </Tree> |
| 25 | +</ObjectInspector>" |
20 | 26 | `; |
21 | 27 |
|
22 | 28 | exports[`ObjectInspector - classnames has the inline class when inline prop is true 1`] = ` |
23 | | -<ObjectInspector |
24 | | - autoExpandDepth={0} |
25 | | - getObjectProperties={[Function]} |
26 | | - inline={true} |
27 | | - loadObjectProperties={[Function]} |
28 | | - roots={ |
29 | | - Array [ |
30 | | - Object { |
31 | | - "contents": Object { |
32 | | - "value": 42, |
33 | | - }, |
34 | | - "name": "root", |
35 | | - "path": "root", |
36 | | - }, |
37 | | - ] |
38 | | - } |
39 | | -/> |
| 29 | +"<ObjectInspector autoExpandDepth={0} roots={{...}} getObjectProperties={[Function]} loadObjectProperties={[Function]} inline={true}> |
| 30 | + <Tree className=\\"inline\\" autoExpandAll={true} autoExpandDepth={0} disabledFocus={[undefined]} itemHeight={20} isExpanded={[Function]} focused={{...}} getRoots={[Function]} getParent={[Function]} getChildren={[Function]} getKey={[Function]} onExpand={[Function]} onCollapse={[Function]} onFocus={[Function]} renderItem={[Function]}> |
| 31 | + <div className=\\"tree inline\\" onKeyDown={[Function]} onKeyPress={[Function]} onKeyUp={[Function]} onScroll={[Function]} style={{...}}> |
| 32 | + <TreeNode index={0} item={{...}} depth={0} renderItem={[Function]} focused={false} expanded={false} hasChildren={false} onExpand={[Function]} onCollapse={[Function]} onFocus={[Function]}> |
| 33 | + <div className=\\"tree-node div \\" onFocus={[Function]} onClick={[Function]} onBlur={[undefined]} style={{...}}> |
| 34 | + <div className=\\"node object-node\\" style={{...}} onClick={{...}} onDoubleClick={{...}}> |
| 35 | + <span className=\\"object-label\\" onClick={{...}}> |
| 36 | + root |
| 37 | + </span> |
| 38 | + <span className=\\"object-delimiter\\"> |
| 39 | + : |
| 40 | + </span> |
| 41 | + <span className=\\"objectBox objectBox-number\\"> |
| 42 | + 42 |
| 43 | + </span> |
| 44 | + </div> |
| 45 | + <button style={{...}} /> |
| 46 | + </div> |
| 47 | + </TreeNode> |
| 48 | + </div> |
| 49 | + </Tree> |
| 50 | +</ObjectInspector>" |
40 | 51 | `; |
41 | 52 |
|
42 | 53 | exports[`ObjectInspector - classnames has the nowrap class when disableWrap prop is true 1`] = ` |
43 | | -<ObjectInspector |
44 | | - autoExpandDepth={0} |
45 | | - disableWrap={true} |
46 | | - getObjectProperties={[Function]} |
47 | | - loadObjectProperties={[Function]} |
48 | | - roots={ |
49 | | - Array [ |
50 | | - Object { |
51 | | - "contents": Object { |
52 | | - "value": 42, |
53 | | - }, |
54 | | - "name": "root", |
55 | | - "path": "root", |
56 | | - }, |
57 | | - ] |
58 | | - } |
59 | | -/> |
| 54 | +"<ObjectInspector autoExpandDepth={0} roots={{...}} getObjectProperties={[Function]} loadObjectProperties={[Function]} disableWrap={true}> |
| 55 | + <Tree className=\\"nowrap\\" autoExpandAll={true} autoExpandDepth={0} disabledFocus={[undefined]} itemHeight={20} isExpanded={[Function]} focused={{...}} getRoots={[Function]} getParent={[Function]} getChildren={[Function]} getKey={[Function]} onExpand={[Function]} onCollapse={[Function]} onFocus={[Function]} renderItem={[Function]}> |
| 56 | + <div className=\\"tree nowrap\\" onKeyDown={[Function]} onKeyPress={[Function]} onKeyUp={[Function]} onScroll={[Function]} style={{...}}> |
| 57 | + <TreeNode index={0} item={{...}} depth={0} renderItem={[Function]} focused={false} expanded={false} hasChildren={false} onExpand={[Function]} onCollapse={[Function]} onFocus={[Function]}> |
| 58 | + <div className=\\"tree-node div \\" onFocus={[Function]} onClick={[Function]} onBlur={[undefined]} style={{...}}> |
| 59 | + <div className=\\"node object-node\\" style={{...}} onClick={{...}} onDoubleClick={{...}}> |
| 60 | + <span className=\\"object-label\\" onClick={{...}}> |
| 61 | + root |
| 62 | + </span> |
| 63 | + <span className=\\"object-delimiter\\"> |
| 64 | + : |
| 65 | + </span> |
| 66 | + <span className=\\"objectBox objectBox-number\\"> |
| 67 | + 42 |
| 68 | + </span> |
| 69 | + </div> |
| 70 | + <button style={{...}} /> |
| 71 | + </div> |
| 72 | + </TreeNode> |
| 73 | + </div> |
| 74 | + </Tree> |
| 75 | +</ObjectInspector>" |
60 | 76 | `; |
0 commit comments