]> source.dussan.org Git - sonarqube.git/blob
ae95c4feab2ac11a11027edcb27314b2b870a926
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: fix 1`] = `
4 <Fragment>
5   <BoxedTabs
6     onSelect={[Function]}
7     selected="fix"
8     tabs={
9       Array [
10         Object {
11           "content": "",
12           "key": "code",
13           "label": "hotspots.tabs.code",
14         },
15         Object {
16           "content": "<p>This a <strong>strong</strong> message about risk !</p>",
17           "key": "risk",
18           "label": "hotspots.tabs.risk_description",
19         },
20         Object {
21           "content": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
22           "key": "vulnerability",
23           "label": "hotspots.tabs.vulnerability_description",
24         },
25         Object {
26           "content": "<p>This a <strong>strong</strong> message about fixing !</p>",
27           "key": "fix",
28           "label": "hotspots.tabs.fix_recommendations",
29         },
30       ]
31     }
32   />
33   <div
34     className="bordered huge-spacer-bottom"
35   >
36     <div
37       className="padded hidden"
38     >
39       <div>
40         CodeTabContent
41       </div>
42     </div>
43     <div
44       className="markdown big-padded hidden"
45       dangerouslySetInnerHTML={
46         Object {
47           "__html": "<p>This a <strong>strong</strong> message about fixing !</p>",
48         }
49       }
50       key="risk"
51     />
52     <div
53       className="markdown big-padded hidden"
54       dangerouslySetInnerHTML={
55         Object {
56           "__html": "<p>This a <strong>strong</strong> message about fixing !</p>",
57         }
58       }
59       key="vulnerability"
60     />
61     <div
62       className="markdown big-padded"
63       dangerouslySetInnerHTML={
64         Object {
65           "__html": "<p>This a <strong>strong</strong> message about fixing !</p>",
66         }
67       }
68       key="fix"
69     />
70   </div>
71 </Fragment>
72 `;
73
74 exports[`should render correctly: risk 1`] = `
75 <Fragment>
76   <BoxedTabs
77     onSelect={[Function]}
78     selected="code"
79     tabs={
80       Array [
81         Object {
82           "content": "",
83           "key": "code",
84           "label": "hotspots.tabs.code",
85         },
86         Object {
87           "content": "<p>This a <strong>strong</strong> message about risk !</p>",
88           "key": "risk",
89           "label": "hotspots.tabs.risk_description",
90         },
91         Object {
92           "content": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
93           "key": "vulnerability",
94           "label": "hotspots.tabs.vulnerability_description",
95         },
96         Object {
97           "content": "<p>This a <strong>strong</strong> message about fixing !</p>",
98           "key": "fix",
99           "label": "hotspots.tabs.fix_recommendations",
100         },
101       ]
102     }
103   />
104   <div
105     className="bordered huge-spacer-bottom"
106   >
107     <div
108       className="padded"
109     >
110       <div>
111         CodeTabContent
112       </div>
113     </div>
114     <div
115       className="markdown big-padded hidden"
116       dangerouslySetInnerHTML={
117         Object {
118           "__html": "",
119         }
120       }
121       key="risk"
122     />
123     <div
124       className="markdown big-padded hidden"
125       dangerouslySetInnerHTML={
126         Object {
127           "__html": "",
128         }
129       }
130       key="vulnerability"
131     />
132     <div
133       className="markdown big-padded hidden"
134       dangerouslySetInnerHTML={
135         Object {
136           "__html": "",
137         }
138       }
139       key="fix"
140     />
141   </div>
142 </Fragment>
143 `;
144
145 exports[`should render correctly: vulnerability 1`] = `
146 <Fragment>
147   <BoxedTabs
148     onSelect={[Function]}
149     selected="vulnerability"
150     tabs={
151       Array [
152         Object {
153           "content": "",
154           "key": "code",
155           "label": "hotspots.tabs.code",
156         },
157         Object {
158           "content": "<p>This a <strong>strong</strong> message about risk !</p>",
159           "key": "risk",
160           "label": "hotspots.tabs.risk_description",
161         },
162         Object {
163           "content": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
164           "key": "vulnerability",
165           "label": "hotspots.tabs.vulnerability_description",
166         },
167         Object {
168           "content": "<p>This a <strong>strong</strong> message about fixing !</p>",
169           "key": "fix",
170           "label": "hotspots.tabs.fix_recommendations",
171         },
172       ]
173     }
174   />
175   <div
176     className="bordered huge-spacer-bottom"
177   >
178     <div
179       className="padded hidden"
180     >
181       <div>
182         CodeTabContent
183       </div>
184     </div>
185     <div
186       className="markdown big-padded hidden"
187       dangerouslySetInnerHTML={
188         Object {
189           "__html": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
190         }
191       }
192       key="risk"
193     />
194     <div
195       className="markdown big-padded"
196       dangerouslySetInnerHTML={
197         Object {
198           "__html": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
199         }
200       }
201       key="vulnerability"
202     />
203     <div
204       className="markdown big-padded hidden"
205       dangerouslySetInnerHTML={
206         Object {
207           "__html": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
208         }
209       }
210       key="fix"
211     />
212   </div>
213 </Fragment>
214 `;
215
216 exports[`should render correctly: with comments or changelog element 1`] = `
217 <Fragment>
218   <BoxedTabs
219     onSelect={[Function]}
220     selected="code"
221     tabs={
222       Array [
223         Object {
224           "content": "",
225           "key": "code",
226           "label": "hotspots.tabs.code",
227         },
228         Object {
229           "content": "<p>This a <strong>strong</strong> message about risk !</p>",
230           "key": "risk",
231           "label": "hotspots.tabs.risk_description",
232         },
233         Object {
234           "content": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
235           "key": "vulnerability",
236           "label": "hotspots.tabs.vulnerability_description",
237         },
238         Object {
239           "content": "<p>This a <strong>strong</strong> message about fixing !</p>",
240           "key": "fix",
241           "label": "hotspots.tabs.fix_recommendations",
242         },
243       ]
244     }
245   />
246   <div
247     className="bordered huge-spacer-bottom"
248   >
249     <div
250       className="padded"
251     >
252       <div>
253         CodeTabContent
254       </div>
255     </div>
256     <div
257       className="markdown big-padded hidden"
258       dangerouslySetInnerHTML={
259         Object {
260           "__html": "",
261         }
262       }
263       key="risk"
264     />
265     <div
266       className="markdown big-padded hidden"
267       dangerouslySetInnerHTML={
268         Object {
269           "__html": "",
270         }
271       }
272       key="vulnerability"
273     />
274     <div
275       className="markdown big-padded hidden"
276       dangerouslySetInnerHTML={
277         Object {
278           "__html": "",
279         }
280       }
281       key="fix"
282     />
283   </div>
284 </Fragment>
285 `;