]> source.dussan.org Git - sonarqube.git/blob
ef063ef9eeb244c969afb35ab25a67e035e62469
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should load the product news 1`] = `
4 <a
5   className="rich-item new-loading"
6 >
7   <div
8     className="flex-1"
9   >
10     <div
11       className="display-inline-flex-center"
12     >
13       <h4>
14         Latest news
15       </h4>
16       <span
17         className="note spacer-left"
18       >
19         <PlaceholderBar
20           color="#aaa"
21           width={60}
22         />
23       </span>
24     </div>
25     <p
26       className="little-spacer-bottom"
27     >
28       <PlaceholderBar
29         color="#aaa"
30         width={84}
31       />
32        
33       <PlaceholderBar
34         color="#aaa"
35         width={48}
36       />
37        
38       <PlaceholderBar
39         color="#aaa"
40         width={24}
41       />
42        
43       <PlaceholderBar
44         color="#aaa"
45         width={72}
46       />
47        
48       <PlaceholderBar
49         color="#aaa"
50         width={24}
51       />
52        
53       <PlaceholderBar
54         color="#aaa"
55         width={48}
56       />
57     </p>
58   </div>
59   <ChevronRightIcon
60     className="flex-0"
61   />
62 </a>
63 `;
64
65 exports[`should load the product news 2`] = `
66 <a
67   className="rich-item"
68   href="https://blog.sonarsource.com/my-product-news"
69   rel="noopener noreferrer"
70   target="_blank"
71 >
72   <div
73     className="flex-1"
74   >
75     <div
76       className="display-inline-flex-center"
77     >
78       <h4>
79         Latest news
80       </h4>
81       <DateFormatter
82         date="2018-04-06T12:07:19+0000"
83       >
84         <Component />
85       </DateFormatter>
86     </div>
87     <p
88       className="little-spacer-bottom"
89     >
90       My Product News
91     </p>
92   </div>
93   <ChevronRightIcon
94     className="flex-0"
95   />
96 </a>
97 `;