]> source.dussan.org Git - sonarqube.git/blob
434b4be4f7be85a00afec7627e7eb6a651733465
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should display correct links for SonarCloud 1`] = `
4 <DropdownOverlay>
5   <ul
6     className="menu abs-width-240"
7   >
8     <li
9       className="menu-header"
10     >
11       embed_docs.suggestion
12     </li>
13     <li
14       key="0"
15     >
16       <Link
17         onClick={[MockFunction]}
18         onlyActiveOnIndex={false}
19         style={Object {}}
20         target="_blank"
21         to="#"
22       >
23         foo
24       </Link>
25     </li>
26     <li
27       key="1"
28     >
29       <Link
30         onClick={[MockFunction]}
31         onlyActiveOnIndex={false}
32         style={Object {}}
33         target="_blank"
34         to="#"
35       >
36         bar
37       </Link>
38     </li>
39     <li
40       className="divider"
41     />
42     <li>
43       <Link
44         onClick={[MockFunction]}
45         onlyActiveOnIndex={false}
46         style={Object {}}
47         target="_blank"
48         to="/documentation"
49       >
50         embed_docs.documentation
51       </Link>
52     </li>
53     <li>
54       <Link
55         onClick={[MockFunction]}
56         onlyActiveOnIndex={false}
57         style={Object {}}
58         to="/web_api"
59       >
60         api_documentation.page
61       </Link>
62     </li>
63     <li
64       className="divider"
65     />
66     <li>
67       <a
68         href="https://community.sonarsource.com/c/help/sc"
69         rel="noopener noreferrer"
70         target="_blank"
71       >
72         embed_docs.get_help
73       </a>
74     </li>
75     <li
76       className="divider"
77     />
78     <li
79       className="menu-header"
80     >
81       embed_docs.stay_connected
82     </li>
83     <li>
84       <a
85         href="https://twitter.com/sonarcloud"
86         rel="noopener noreferrer"
87         target="_blank"
88       >
89         <img
90           alt="Twitter"
91           className="spacer-right"
92           height="18"
93           src="/images/embed-doc/twitter-icon.svg"
94           width="18"
95         />
96         Twitter
97       </a>
98     </li>
99     <li>
100       <a
101         href="https://blog.sonarsource.com/product/SonarCloud"
102         rel="noopener noreferrer"
103         target="_blank"
104       >
105         <img
106           alt="embed_docs.news"
107           className="spacer-right"
108           height="18"
109           src="/images/sonarcloud-square-logo.svg"
110           width="18"
111         />
112         embed_docs.news
113       </a>
114     </li>
115     <li>
116       <Connect(ProductNewsMenuItem)
117         tag="SonarCloud"
118       />
119     </li>
120   </ul>
121 </DropdownOverlay>
122 `;
123
124 exports[`should display suggestion links 1`] = `
125 <DropdownOverlay>
126   <ul
127     className="menu abs-width-240"
128   >
129     <li
130       className="menu-header"
131     >
132       embed_docs.suggestion
133     </li>
134     <li
135       key="0"
136     >
137       <Link
138         onClick={[MockFunction]}
139         onlyActiveOnIndex={false}
140         style={Object {}}
141         target="_blank"
142         to="#"
143       >
144         foo
145       </Link>
146     </li>
147     <li
148       key="1"
149     >
150       <Link
151         onClick={[MockFunction]}
152         onlyActiveOnIndex={false}
153         style={Object {}}
154         target="_blank"
155         to="#"
156       >
157         bar
158       </Link>
159     </li>
160     <li
161       className="divider"
162     />
163     <li>
164       <Link
165         onClick={[MockFunction]}
166         onlyActiveOnIndex={false}
167         style={Object {}}
168         target="_blank"
169         to="/documentation"
170       >
171         embed_docs.documentation
172       </Link>
173     </li>
174     <li>
175       <Link
176         onClick={[MockFunction]}
177         onlyActiveOnIndex={false}
178         style={Object {}}
179         to="/web_api"
180       >
181         api_documentation.page
182       </Link>
183     </li>
184     <li
185       className="divider"
186     />
187     <li>
188       <a
189         href="https://community.sonarsource.com/"
190         rel="noopener noreferrer"
191         target="_blank"
192       >
193         embed_docs.get_help
194       </a>
195     </li>
196     <li
197       className="divider"
198     />
199     <li
200       className="menu-header"
201     >
202       embed_docs.stay_connected
203     </li>
204     <li>
205       <a
206         href="https://www.sonarsource.com/resources/product-news/"
207         rel="noopener noreferrer"
208         target="_blank"
209       >
210         <img
211           alt="embed_docs.news"
212           className="spacer-right"
213           height="18"
214           src="/images/embed-doc/sq-icon.svg"
215           width="18"
216         />
217         embed_docs.news
218       </a>
219     </li>
220     <li>
221       <a
222         href="https://twitter.com/SonarQube"
223         rel="noopener noreferrer"
224         target="_blank"
225       >
226         <img
227           alt="Twitter"
228           className="spacer-right"
229           height="18"
230           src="/images/embed-doc/twitter-icon.svg"
231           width="18"
232         />
233         Twitter
234       </a>
235     </li>
236   </ul>
237 </DropdownOverlay>
238 `;