]> source.dussan.org Git - sonarqube.git/blob
5c6a804f4e00e39354403d46ac8d068db0eca3d4
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly: basic 1`] = `
4 <HelpTooltip
5   overlay={
6     <div
7       className="big-padded-top big-padded-bottom"
8     >
9       <div
10         className="spacer-bottom"
11       >
12         <strong>
13           title
14         </strong>
15       </div>
16       <p>
17         content
18       </p>
19     </div>
20   }
21 />
22 `;
23
24 exports[`renders correctly: no content 1`] = `
25 <HelpTooltip
26   overlay={
27     <div
28       className="big-padded-top big-padded-bottom"
29     >
30       <div
31         className="spacer-bottom"
32       >
33         <strong>
34           title
35         </strong>
36       </div>
37     </div>
38   }
39 />
40 `;
41
42 exports[`renders correctly: no title 1`] = `
43 <HelpTooltip
44   overlay={
45     <div
46       className="big-padded-top big-padded-bottom"
47     >
48       <p>
49         content
50       </p>
51     </div>
52   }
53 />
54 `;
55
56 exports[`renders correctly: with links 1`] = `
57 <HelpTooltip
58   overlay={
59     <div
60       className="big-padded-top big-padded-bottom"
61     >
62       <div
63         className="spacer-bottom"
64       >
65         <strong>
66           title
67         </strong>
68       </div>
69       <p>
70         content
71       </p>
72       <React.Fragment>
73         <hr
74           className="big-spacer-top big-spacer-bottom"
75         />
76         <div
77           aria-hidden={true}
78           className="little-spacer-bottom"
79         >
80           <Link
81             className="display-inline-flex-center"
82             rel="noopener noreferrer"
83             target="_blank"
84             to="http://link.tosome.place"
85           >
86             <DetachIcon
87               className="spacer-right"
88               size={14}
89             />
90             <span>
91               external link
92             </span>
93           </Link>
94         </div>
95         <div
96           aria-hidden={true}
97           className="little-spacer-bottom"
98         >
99           <Link
100             className="display-inline-flex-center"
101             rel="noopener noreferrer"
102             target="_blank"
103             to="/documentation/guide"
104           >
105             <span>
106               internal link
107             </span>
108           </Link>
109         </div>
110         <div
111           aria-hidden={true}
112           className="little-spacer-bottom"
113         >
114           <Link
115             to="/projects"
116           >
117             <span>
118               in place
119             </span>
120           </Link>
121         </div>
122       </React.Fragment>
123     </div>
124   }
125 />
126 `;