]> source.dussan.org Git - sonarqube.git/blob
cf1c23cd2ab4231fda38c6a553f3f81458cb3c69
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div
5   className="update-center-meta-data"
6 >
7   <div
8     className="update-center-meta-data-header"
9   >
10     <span
11       className="update-center-meta-data-vendor"
12     >
13       By 
14       <a
15         href="http://www.sonarsource.com/"
16         rel="noopener noreferrer"
17         target="_blank"
18       >
19         SonarSource
20       </a>
21     </span>
22     <span
23       className="update-center-meta-data-license"
24     >
25       SonarSource
26     </span>
27     <span
28       className="update-center-meta-data-issue-tracker"
29     >
30       <a
31         href="https://jira.sonarsource.com/browse/SONARJAVA"
32         rel="noopener noreferrer"
33         target="_blank"
34       >
35         Issue Tracker
36       </a>
37     </span>
38     <span
39       className="update-center-meta-data-supported"
40     >
41       Supported by SonarSource
42     </span>
43   </div>
44   <MetaDataVersions
45     versions={
46       [
47         {
48           "archived": false,
49           "changeLogUrl": "https://example.com/sonar-java-plugin/release",
50           "compatibility": "6.7",
51           "date": "2019-05-31",
52           "downloadURL": "https://example.com/sonar-java-plugin-5.13.0.18197.jar",
53           "version": "2.0",
54         },
55         {
56           "archived": true,
57           "changeLogUrl": "https://example.com/sonar-java-plugin/release",
58           "compatibility": "6.7",
59           "date": "2019-05-31",
60           "downloadURL": "https://example.com/sonar-java-plugin-5.13.0.18197.jar",
61           "version": "1.0",
62         },
63       ]
64     }
65   />
66 </div>
67 `;
68
69 exports[`should render correctly with organization 1`] = `
70 <div
71   className="update-center-meta-data"
72 >
73   <div
74     className="update-center-meta-data-header"
75   >
76     <span
77       className="update-center-meta-data-vendor"
78     >
79       By 
80       <a
81         href="test-org-url"
82         rel="noopener noreferrer"
83         target="_blank"
84       >
85         test-org
86       </a>
87     </span>
88     <span
89       className="update-center-meta-data-license"
90     >
91       SonarSource
92     </span>
93     <span
94       className="update-center-meta-data-issue-tracker"
95     >
96       <a
97         href="https://jira.sonarsource.com/browse/SONARJAVA"
98         rel="noopener noreferrer"
99         target="_blank"
100       >
101         Issue Tracker
102       </a>
103     </span>
104     <span
105       className="update-center-meta-data-supported"
106     >
107       Supported by SonarSource
108     </span>
109   </div>
110   <MetaDataVersions
111     versions={
112       [
113         {
114           "archived": false,
115           "changeLogUrl": "https://example.com/sonar-java-plugin/release",
116           "compatibility": "6.7",
117           "date": "2019-05-31",
118           "downloadURL": "https://example.com/sonar-java-plugin-5.13.0.18197.jar",
119           "version": "2.0",
120         },
121         {
122           "archived": true,
123           "changeLogUrl": "https://example.com/sonar-java-plugin/release",
124           "compatibility": "6.7",
125           "date": "2019-05-31",
126           "downloadURL": "https://example.com/sonar-java-plugin-5.13.0.18197.jar",
127           "version": "1.0",
128         },
129       ]
130     }
131   />
132 </div>
133 `;