]> source.dussan.org Git - sonarqube.git/blob
ce33642ae2cf9a5a8fef3736e86e45105e14e741
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders favorite 1`] = `
4 <li>
5   <Tooltip
6     mouseEnterDelay={1}
7     overlay="foo"
8     placement="left"
9   >
10     <Link
11       className="navbar-search-item-link"
12       data-key="foo"
13       onClick={[Function]}
14       onMouseEnter={[Function]}
15       onlyActiveOnIndex={false}
16       style={Object {}}
17       to={
18         Object {
19           "pathname": "/dashboard",
20           "query": Object {
21             "id": "foo",
22           },
23         }
24       }
25     >
26       <span
27         className="navbar-search-item-icons little-spacer-right"
28       >
29         <FavoriteIcon
30           favorite={true}
31           size={12}
32         />
33         <QualifierIcon
34           className="little-spacer-right"
35           qualifier="TRK"
36         />
37       </span>
38       <span
39         className="navbar-search-item-match"
40       >
41         foo
42       </span>
43     </Link>
44   </Tooltip>
45 </li>
46 `;
47
48 exports[`renders match 1`] = `
49 <li>
50   <Tooltip
51     mouseEnterDelay={1}
52     overlay="foo"
53     placement="left"
54   >
55     <Link
56       className="navbar-search-item-link"
57       data-key="foo"
58       onClick={[Function]}
59       onMouseEnter={[Function]}
60       onlyActiveOnIndex={false}
61       style={Object {}}
62       to={
63         Object {
64           "pathname": "/dashboard",
65           "query": Object {
66             "id": "foo",
67           },
68         }
69       }
70     >
71       <span
72         className="navbar-search-item-icons little-spacer-right"
73       >
74         <QualifierIcon
75           className="little-spacer-right"
76           qualifier="TRK"
77         />
78       </span>
79       <span
80         className="navbar-search-item-match"
81         dangerouslySetInnerHTML={
82           Object {
83             "__html": "f<mark>o</mark>o",
84           }
85         }
86       />
87     </Link>
88   </Tooltip>
89 </li>
90 `;
91
92 exports[`renders organizations 1`] = `
93 <li>
94   <Tooltip
95     mouseEnterDelay={1}
96     overlay="foo"
97     placement="left"
98   >
99     <Link
100       className="navbar-search-item-link"
101       data-key="foo"
102       onClick={[Function]}
103       onMouseEnter={[Function]}
104       onlyActiveOnIndex={false}
105       style={Object {}}
106       to={
107         Object {
108           "pathname": "/dashboard",
109           "query": Object {
110             "id": "foo",
111           },
112         }
113       }
114     >
115       <span
116         className="navbar-search-item-icons little-spacer-right"
117       >
118         <ClockIcon
119           size={12}
120         />
121         <QualifierIcon
122           className="little-spacer-right"
123           qualifier="TRK"
124         />
125       </span>
126       <span
127         className="navbar-search-item-match"
128       >
129         foo
130       </span>
131       <div
132         className="navbar-search-item-right text-muted-2"
133       >
134         bar
135       </div>
136     </Link>
137   </Tooltip>
138 </li>
139 `;
140
141 exports[`renders organizations 2`] = `
142 <li>
143   <Tooltip
144     mouseEnterDelay={1}
145     overlay="foo"
146     placement="left"
147   >
148     <Link
149       className="navbar-search-item-link"
150       data-key="foo"
151       onClick={[Function]}
152       onMouseEnter={[Function]}
153       onlyActiveOnIndex={false}
154       style={Object {}}
155       to={
156         Object {
157           "pathname": "/dashboard",
158           "query": Object {
159             "id": "foo",
160           },
161         }
162       }
163     >
164       <span
165         className="navbar-search-item-icons little-spacer-right"
166       >
167         <ClockIcon
168           size={12}
169         />
170         <QualifierIcon
171           className="little-spacer-right"
172           qualifier="TRK"
173         />
174       </span>
175       <span
176         className="navbar-search-item-match"
177       >
178         foo
179       </span>
180     </Link>
181   </Tooltip>
182 </li>
183 `;
184
185 exports[`renders projects 1`] = `
186 <li>
187   <Tooltip
188     mouseEnterDelay={1}
189     overlay="qwe"
190     placement="left"
191   >
192     <Link
193       className="navbar-search-item-link"
194       data-key="qwe"
195       onClick={[Function]}
196       onMouseEnter={[Function]}
197       onlyActiveOnIndex={false}
198       style={Object {}}
199       to={
200         Object {
201           "pathname": "/dashboard",
202           "query": Object {
203             "id": "qwe",
204           },
205         }
206       }
207     >
208       <span
209         className="navbar-search-item-icons little-spacer-right"
210       >
211         <ClockIcon
212           size={12}
213         />
214         <QualifierIcon
215           className="little-spacer-right"
216           qualifier="BRC"
217         />
218       </span>
219       <span
220         className="navbar-search-item-match"
221       >
222         qwe
223       </span>
224       <div
225         className="navbar-search-item-right text-muted-2"
226       >
227         foo
228       </div>
229     </Link>
230   </Tooltip>
231 </li>
232 `;
233
234 exports[`renders recently browsed 1`] = `
235 <li>
236   <Tooltip
237     mouseEnterDelay={1}
238     overlay="foo"
239     placement="left"
240   >
241     <Link
242       className="navbar-search-item-link"
243       data-key="foo"
244       onClick={[Function]}
245       onMouseEnter={[Function]}
246       onlyActiveOnIndex={false}
247       style={Object {}}
248       to={
249         Object {
250           "pathname": "/dashboard",
251           "query": Object {
252             "id": "foo",
253           },
254         }
255       }
256     >
257       <span
258         className="navbar-search-item-icons little-spacer-right"
259       >
260         <ClockIcon
261           size={12}
262         />
263         <QualifierIcon
264           className="little-spacer-right"
265           qualifier="TRK"
266         />
267       </span>
268       <span
269         className="navbar-search-item-match"
270       >
271         foo
272       </span>
273     </Link>
274   </Tooltip>
275 </li>
276 `;
277
278 exports[`renders selected 1`] = `
279 <li>
280   <Tooltip
281     mouseEnterDelay={1}
282     overlay="foo"
283     placement="left"
284   >
285     <Link
286       className="navbar-search-item-link"
287       data-key="foo"
288       onClick={[Function]}
289       onMouseEnter={[Function]}
290       onlyActiveOnIndex={false}
291       style={Object {}}
292       to={
293         Object {
294           "pathname": "/dashboard",
295           "query": Object {
296             "id": "foo",
297           },
298         }
299       }
300     >
301       <span
302         className="navbar-search-item-icons little-spacer-right"
303       >
304         <QualifierIcon
305           className="little-spacer-right"
306           qualifier="TRK"
307         />
308       </span>
309       <span
310         className="navbar-search-item-match"
311       >
312         foo
313       </span>
314     </Link>
315   </Tooltip>
316 </li>
317 `;
318
319 exports[`renders selected 2`] = `
320 <li
321   className="active"
322 >
323   <Tooltip
324     mouseEnterDelay={1}
325     overlay="foo"
326     placement="left"
327   >
328     <Link
329       className="navbar-search-item-link"
330       data-key="foo"
331       onClick={[Function]}
332       onMouseEnter={[Function]}
333       onlyActiveOnIndex={false}
334       style={Object {}}
335       to={
336         Object {
337           "pathname": "/dashboard",
338           "query": Object {
339             "id": "foo",
340           },
341         }
342       }
343     >
344       <span
345         className="navbar-search-item-icons little-spacer-right"
346       >
347         <QualifierIcon
348           className="little-spacer-right"
349           qualifier="TRK"
350         />
351       </span>
352       <span
353         className="navbar-search-item-match"
354       >
355         foo
356       </span>
357     </Link>
358   </Tooltip>
359 </li>
360 `;