]> source.dussan.org Git - sonarqube.git/blob
5e0f68e43d9b41a9c94956de57f0c7ac62b28367
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: empty tab 1`] = `
4 <Fragment>
5   <BoxedTabs
6     onSelect={[Function]}
7     selected="vulnerability"
8     tabs={
9       Array [
10         Object {
11           "key": "vulnerability",
12           "label": "hotspot.tabs.vulnerability_description",
13         },
14         Object {
15           "key": "fix",
16           "label": "hotspot.tabs.fix_recommendations",
17         },
18       ]
19     }
20   />
21   <div
22     className="boxed-group markdown big-padded"
23     dangerouslySetInnerHTML={
24       Object {
25         "__html": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
26       }
27     }
28   />
29 </Fragment>
30 `;
31
32 exports[`should render correctly: fix 1`] = `
33 <Fragment>
34   <BoxedTabs
35     onSelect={[Function]}
36     selected="fix"
37     tabs={
38       Array [
39         Object {
40           "key": "risk",
41           "label": "hotspot.tabs.risk_description",
42         },
43         Object {
44           "key": "vulnerability",
45           "label": "hotspot.tabs.vulnerability_description",
46         },
47         Object {
48           "key": "fix",
49           "label": "hotspot.tabs.fix_recommendations",
50         },
51       ]
52     }
53   />
54   <div
55     className="boxed-group markdown big-padded"
56     dangerouslySetInnerHTML={
57       Object {
58         "__html": "<p>This a <strong>strong</strong> message about fixing !</p>",
59       }
60     }
61   />
62 </Fragment>
63 `;
64
65 exports[`should render correctly: no tabs 1`] = `""`;
66
67 exports[`should render correctly: risk 1`] = `
68 <Fragment>
69   <BoxedTabs
70     onSelect={[Function]}
71     selected="risk"
72     tabs={
73       Array [
74         Object {
75           "key": "risk",
76           "label": "hotspot.tabs.risk_description",
77         },
78         Object {
79           "key": "vulnerability",
80           "label": "hotspot.tabs.vulnerability_description",
81         },
82         Object {
83           "key": "fix",
84           "label": "hotspot.tabs.fix_recommendations",
85         },
86       ]
87     }
88   />
89   <div
90     className="boxed-group markdown big-padded"
91     dangerouslySetInnerHTML={
92       Object {
93         "__html": "<p>This a <strong>strong</strong> message about risk !</p>",
94       }
95     }
96   />
97 </Fragment>
98 `;
99
100 exports[`should render correctly: vulnerability 1`] = `
101 <Fragment>
102   <BoxedTabs
103     onSelect={[Function]}
104     selected="vulnerability"
105     tabs={
106       Array [
107         Object {
108           "key": "risk",
109           "label": "hotspot.tabs.risk_description",
110         },
111         Object {
112           "key": "vulnerability",
113           "label": "hotspot.tabs.vulnerability_description",
114         },
115         Object {
116           "key": "fix",
117           "label": "hotspot.tabs.fix_recommendations",
118         },
119       ]
120     }
121   />
122   <div
123     className="boxed-group markdown big-padded"
124     dangerouslySetInnerHTML={
125       Object {
126         "__html": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
127       }
128     }
129   />
130 </Fragment>
131 `;