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