]> source.dussan.org Git - sonarqube.git/blob
a1ff67c3506115412443604b69e12d4de25bf096
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render object correctly 1`] = `
4 Array [
5   <ObjectItem
6     value={
7         Object {
8             "bar": Object {
9               "a": 1,
10               "b": "b",
11             },
12             "baz": true,
13             "foo": "Far",
14           }
15     }
16 >
17     <table
18         className="data"
19     >
20         <tbody>
21             <tr>
22                 <td
23                     className="thin nowrap"
24                 >
25                     foo
26                 </td>
27                 <td>
28                     <SysInfoItem
29                         name="foo"
30                         value="Far"
31                     >
32                         <code>
33                             Far
34                         </code>
35                     </SysInfoItem>
36                 </td>
37             </tr>
38             <tr>
39                 <td
40                     className="thin nowrap"
41                 >
42                     bar
43                 </td>
44                 <td>
45                     <SysInfoItem
46                         name="bar"
47                         value={
48                             Object {
49                                 "a": 1,
50                                 "b": "b",
51                               }
52                         }
53                     >
54                         <ObjectItem
55                             value={
56                                 Object {
57                                     "a": 1,
58                                     "b": "b",
59                                   }
60                             }
61                         >
62                             <table
63                                 className="data"
64                             >
65                                 <tbody>
66                                     <tr>
67                                         <td
68                                             className="thin nowrap"
69                                         >
70                                             a
71                                         </td>
72                                         <td>
73                                             <SysInfoItem
74                                                 name="a"
75                                                 value={1}
76                                             >
77                                                 <code>
78                                                     1
79                                                 </code>
80                                             </SysInfoItem>
81                                         </td>
82                                     </tr>
83                                     <tr>
84                                         <td
85                                             className="thin nowrap"
86                                         >
87                                             b
88                                         </td>
89                                         <td>
90                                             <SysInfoItem
91                                                 name="b"
92                                                 value="b"
93                                             >
94                                                 <code>
95                                                     b
96                                                 </code>
97                                             </SysInfoItem>
98                                         </td>
99                                     </tr>
100                                 </tbody>
101                             </table>
102                         </ObjectItem>
103                     </SysInfoItem>
104                 </td>
105             </tr>
106             <tr>
107                 <td
108                     className="thin nowrap"
109                 >
110                     baz
111                 </td>
112                 <td>
113                     <SysInfoItem
114                         name="baz"
115                         value={true}
116                     >
117                         <BooleanItem
118                             value={true}
119                         >
120                             <i
121                                 className="icon-check"
122                             />
123                         </BooleanItem>
124                     </SysInfoItem>
125                 </td>
126             </tr>
127         </tbody>
128     </table>
129 </ObjectItem>,
130   <ObjectItem
131     value={
132         Object {
133             "a": 1,
134             "b": "b",
135           }
136     }
137 >
138     <table
139         className="data"
140     >
141         <tbody>
142             <tr>
143                 <td
144                     className="thin nowrap"
145                 >
146                     a
147                 </td>
148                 <td>
149                     <SysInfoItem
150                         name="a"
151                         value={1}
152                     >
153                         <code>
154                             1
155                         </code>
156                     </SysInfoItem>
157                 </td>
158             </tr>
159             <tr>
160                 <td
161                     className="thin nowrap"
162                 >
163                     b
164                 </td>
165                 <td>
166                     <SysInfoItem
167                         name="b"
168                         value="b"
169                     >
170                         <code>
171                             b
172                         </code>
173                     </SysInfoItem>
174                 </td>
175             </tr>
176         </tbody>
177     </table>
178 </ObjectItem>,
179 ]
180 `;