]> source.dussan.org Git - sonarqube.git/blob
7fd964fe2ab9cb20bb1712486991a4683181d12b
[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-version"
6 >
7   <div
8     className="update-center-meta-data-version-version"
9   >
10     5.13
11   </div>
12   <div
13     className="update-center-meta-data-version-release-info"
14   >
15     <time
16       className="update-center-meta-data-version-release-date"
17     >
18       2019-05-31
19     </time>
20     <span
21       className="update-center-meta-data-version-compatibility"
22     >
23       6.7
24     </span>
25   </div>
26   <div
27     className="update-center-meta-data-version-release-links"
28   >
29     <span
30       className="update-center-meta-data-version-download"
31       key="0"
32     >
33       <a
34         href="https://example.com/sonar-java-plugin-5.13.0.18197.jar"
35         rel="noopener noreferrer"
36         target="_blank"
37       >
38         Download
39       </a>
40     </span>
41     <span
42       className="update-center-meta-data-version-release-notes"
43     >
44       <a
45         href="https://example.com/sonar-java-plugin/release"
46         rel="noopener noreferrer"
47         target="_blank"
48       >
49         Release notes
50       </a>
51     </span>
52   </div>
53 </div>
54 `;
55
56 exports[`should render correctly: with advanced downloadUrl 1`] = `
57 <div
58   className="update-center-meta-data-version"
59 >
60   <div
61     className="update-center-meta-data-version-version"
62   >
63     5.13
64   </div>
65   <div
66     className="update-center-meta-data-version-release-info"
67   >
68     <time
69       className="update-center-meta-data-version-release-date"
70     >
71       2019-05-31
72     </time>
73     <span
74       className="update-center-meta-data-version-compatibility"
75     >
76       6.7
77     </span>
78   </div>
79   <div
80     className="update-center-meta-data-version-release-links"
81   >
82     <span
83       className="update-center-meta-data-version-release-notes"
84     >
85       <a
86         href="https://example.com/sonar-java-plugin/release"
87         rel="noopener noreferrer"
88         target="_blank"
89       >
90         Release notes
91       </a>
92     </span>
93   </div>
94 </div>
95 `;
96
97 exports[`should render correctly: with very few info 1`] = `
98 <div
99   className="update-center-meta-data-version"
100 >
101   <div
102     className="update-center-meta-data-version-version"
103   >
104     2.0
105   </div>
106   <div
107     className="update-center-meta-data-version-release-info"
108   />
109   <div
110     className="update-center-meta-data-version-release-links"
111   />
112 </div>
113 `;