]> source.dussan.org Git - sonarqube.git/blob
59ba0ebfd6524e94fa11fcd5b4180836b0cd3800
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: is default 1`] = `
4 <div
5   className="layout-page-main-inner"
6 >
7   <Connect(withAppState(Conditions))
8     conditions={Array []}
9     metrics={Object {}}
10     onAddCondition={[MockFunction]}
11     onRemoveCondition={[MockFunction]}
12     onSaveCondition={[MockFunction]}
13     qualityGate={
14       Object {
15         "id": "1",
16         "name": "qualitygate",
17       }
18     }
19   />
20   <div
21     className="quality-gate-section"
22     id="quality-gate-projects"
23   >
24     <header
25       className="display-flex-center spacer-bottom"
26     >
27       <h3>
28         quality_gates.projects
29       </h3>
30       <HelpTooltip
31         className="spacer-left"
32         overlay={
33           <div
34             className="big-padded-top big-padded-bottom"
35           >
36             quality_gates.projects.help
37           </div>
38         }
39       />
40     </header>
41     quality_gates.projects_for_default
42   </div>
43 </div>
44 `;
45
46 exports[`should render correctly: is not default 1`] = `
47 <div
48   className="layout-page-main-inner"
49 >
50   <Connect(withAppState(Conditions))
51     conditions={Array []}
52     metrics={Object {}}
53     onAddCondition={[MockFunction]}
54     onRemoveCondition={[MockFunction]}
55     onSaveCondition={[MockFunction]}
56     qualityGate={
57       Object {
58         "id": "1",
59         "name": "qualitygate",
60       }
61     }
62   />
63   <div
64     className="quality-gate-section"
65     id="quality-gate-projects"
66   >
67     <header
68       className="display-flex-center spacer-bottom"
69     >
70       <h3>
71         quality_gates.projects
72       </h3>
73       <HelpTooltip
74         className="spacer-left"
75         overlay={
76           <div
77             className="big-padded-top big-padded-bottom"
78           >
79             quality_gates.projects.help
80           </div>
81         }
82       />
83     </header>
84     <Projects
85       key="1"
86       qualityGate={
87         Object {
88           "id": "1",
89           "name": "qualitygate",
90         }
91       }
92     />
93   </div>
94 </div>
95 `;