]> source.dussan.org Git - sonarqube.git/blob
2cc9fb4b0d55d76d92bc293e3d5c2330fddd2140
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should display BulkChangeModal 1`] = `
4 <BulkChangeModal
5   action="activate"
6   languages={
7     Object {
8       "js": Object {
9         "key": "js",
10         "name": "JavaScript",
11       },
12     }
13   }
14   onClose={[Function]}
15   query={
16     Object {
17       "activation": false,
18       "profile": "key",
19     }
20   }
21   referencedProfiles={
22     Object {
23       "key": Object {
24         "actions": Object {
25           "associateProjects": true,
26           "copy": true,
27           "delete": false,
28           "edit": true,
29           "setAsDefault": true,
30         },
31         "activeDeprecatedRuleCount": 2,
32         "activeRuleCount": 10,
33         "childrenCount": 0,
34         "depth": 1,
35         "isBuiltIn": false,
36         "isDefault": false,
37         "isInherited": false,
38         "key": "key",
39         "language": "js",
40         "languageName": "JavaScript",
41         "name": "name",
42         "organization": "foo",
43         "projectCount": 3,
44       },
45     }
46   }
47   total={2}
48 />
49 `;
50
51 exports[`should render correctly 1`] = `
52 <Fragment>
53   <Dropdown
54     className="pull-left"
55     overlay={
56       <ul
57         className="menu"
58       >
59         <li>
60           <a
61             href="#"
62             onClick={[Function]}
63           >
64             coding_rules.activate_in
65             …
66           </a>
67         </li>
68         <li>
69           <a
70             href="#"
71             onClick={[Function]}
72           >
73             coding_rules.activate_in
74              
75             <strong>
76               name
77             </strong>
78           </a>
79         </li>
80         <li>
81           <a
82             href="#"
83             onClick={[Function]}
84           >
85             coding_rules.deactivate_in
86             …
87           </a>
88         </li>
89       </ul>
90     }
91   >
92     <Button
93       className="js-bulk-change"
94     >
95       bulk_change
96     </Button>
97   </Dropdown>
98 </Fragment>
99 `;