]> source.dussan.org Git - sonarqube.git/blob
9326e5cf1d1f38fac362d1a88fd8f1c749eab830
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: admin actions 1`] = `
4 <div
5   className="layout-page-header-panel layout-page-main-header issues-main-header"
6 >
7   <div
8     className="layout-page-header-panel-inner layout-page-main-header-inner"
9   >
10     <div
11       className="layout-page-main-inner"
12     >
13       <div
14         className="pull-left display-flex-center"
15       >
16         <h2>
17           qualitygate
18         </h2>
19       </div>
20       <div
21         className="pull-right"
22       >
23         <ModalButton
24           modal={[Function]}
25         >
26           <Component />
27         </ModalButton>
28         <ModalButton
29           modal={[Function]}
30         >
31           <Component />
32         </ModalButton>
33         <Button
34           className="little-spacer-left"
35           id="quality-gate-toggle-default"
36           onClick={[Function]}
37         >
38           set_as_default
39         </Button>
40         <withRouter(DeleteQualityGateForm)
41           onDelete={[MockFunction]}
42           qualityGate={
43             Object {
44               "actions": Object {
45                 "copy": true,
46                 "delete": true,
47                 "rename": true,
48                 "setAsDefault": true,
49               },
50               "id": "1",
51               "name": "qualitygate",
52             }
53           }
54         />
55       </div>
56     </div>
57   </div>
58 </div>
59 `;
60
61 exports[`should render correctly: built-in 1`] = `
62 <div
63   className="layout-page-header-panel layout-page-main-header issues-main-header"
64 >
65   <div
66     className="layout-page-header-panel-inner layout-page-main-header-inner"
67   >
68     <div
69       className="layout-page-main-inner"
70     >
71       <div
72         className="pull-left display-flex-center"
73       >
74         <h2>
75           qualitygate
76         </h2>
77         <BuiltInQualityGateBadge
78           className="spacer-left"
79         />
80       </div>
81       <div
82         className="pull-right"
83       />
84     </div>
85   </div>
86 </div>
87 `;
88
89 exports[`should render correctly: default 1`] = `
90 <div
91   className="layout-page-header-panel layout-page-main-header issues-main-header"
92 >
93   <div
94     className="layout-page-header-panel-inner layout-page-main-header-inner"
95   >
96     <div
97       className="layout-page-main-inner"
98     >
99       <div
100         className="pull-left display-flex-center"
101       >
102         <h2>
103           qualitygate
104         </h2>
105       </div>
106       <div
107         className="pull-right"
108       />
109     </div>
110   </div>
111 </div>
112 `;