]> source.dussan.org Git - sonarqube.git/blob
2585ebc6e1db55117953cba21a1d481089988f80
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Dropdown
5   className="display-inline-block"
6   overlay={
7     <React.Fragment>
8       <h2
9         className="menu-header"
10         id="filter-similar-rules"
11       >
12         coding_rules.filter_similar_rules
13       </h2>
14       <ul
15         aria-labelledby="filter-similar-rules"
16         className="menu"
17       >
18         <li>
19           <a
20             data-test="coding-rules__similar-language"
21             href="#"
22             onClick={[Function]}
23           >
24             JavaScript
25           </a>
26         </li>
27         <li>
28           <a
29             className="display-flex-center"
30             data-test="coding-rules__similar-type"
31             href="#"
32             onClick={[Function]}
33           >
34             <IssueTypeIcon
35               query="CODE_SMELL"
36             />
37             <span
38               className="little-spacer-left"
39             >
40               issue.type.CODE_SMELL
41             </span>
42           </a>
43         </li>
44         <li>
45           <a
46             data-test="coding-rules__similar-severity"
47             href="#"
48             onClick={[Function]}
49           >
50             <SeverityHelper
51               className="display-flex-center"
52               severity="MAJOR"
53             />
54           </a>
55         </li>
56         <li
57           className="divider"
58         />
59         <li>
60           <a
61             data-tag="x"
62             data-test="coding-rules__similar-tag"
63             href="#"
64             onClick={[Function]}
65           >
66             <TagsIcon
67               className="little-spacer-right text-middle"
68             />
69             <span
70               className="text-middle"
71             >
72               x
73             </span>
74           </a>
75         </li>
76         <li>
77           <a
78             data-tag="a"
79             data-test="coding-rules__similar-tag"
80             href="#"
81             onClick={[Function]}
82           >
83             <TagsIcon
84               className="little-spacer-right text-middle"
85             />
86             <span
87               className="text-middle"
88             >
89               a
90             </span>
91           </a>
92         </li>
93         <li>
94           <a
95             data-tag="b"
96             data-test="coding-rules__similar-tag"
97             href="#"
98             onClick={[Function]}
99           >
100             <TagsIcon
101               className="little-spacer-right text-middle"
102             />
103             <span
104               className="text-middle"
105             >
106               b
107             </span>
108           </a>
109         </li>
110       </ul>
111     </React.Fragment>
112   }
113 >
114   <a
115     className="js-rule-filter link-no-underline spacer-left dropdown-toggle"
116     href="#"
117     title="coding_rules.filter_similar_rules"
118   >
119     <FilterIcon />
120     <DropdownIcon />
121   </a>
122 </Dropdown>
123 `;