]> source.dussan.org Git - sonarqube.git/blob
e8575a5557135dc4484893e4c083690c2dc39686
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: with branch support 1`] = `
4 <div
5   className="bordered"
6 >
7   <AlmTab
8     alm="github"
9     createConfiguration={[Function]}
10     defaultBinding={
11       Object {
12         "appId": "",
13         "clientId": "",
14         "clientSecret": "",
15         "key": "",
16         "privateKey": "",
17         "url": "",
18       }
19     }
20     definitionStatus={Object {}}
21     definitions={
22       Array [
23         Object {
24           "appId": "123456",
25           "clientId": "client1",
26           "clientSecret": "**clientsecret**",
27           "key": "key",
28           "privateKey": "asdf1234",
29           "url": "http://github.enterprise.com",
30         },
31       ]
32     }
33     form={[Function]}
34     help={
35       <FormattedMessage
36         defaultMessage="settings.almintegration.github.info"
37         id="settings.almintegration.github.info"
38         values={
39           Object {
40             "link": <Link
41               onlyActiveOnIndex={false}
42               style={Object {}}
43               target="_blank"
44               to="/documentation/analysis/github-integration/"
45             >
46               learn_more
47             </Link>,
48           }
49         }
50       />
51     }
52     loadingAlmDefinitions={false}
53     loadingProjectCount={false}
54     multipleAlmEnabled={true}
55     onCheck={[MockFunction]}
56     onDelete={[MockFunction]}
57     onUpdateDefinitions={[MockFunction]}
58     updateConfiguration={[Function]}
59   />
60   <div
61     className="huge-spacer-top huge-spacer-bottom bordered-top"
62   />
63   <div
64     className="big-padded"
65   >
66     <Connect(SubCategoryDefinitionsList)
67       category="almintegration"
68       subCategory="github"
69     />
70   </div>
71 </div>
72 `;
73
74 exports[`should render correctly: without branch support 1`] = `
75 <div
76   className="bordered"
77 >
78   <div
79     className="big-padded"
80   >
81     <Connect(SubCategoryDefinitionsList)
82       category="almintegration"
83       subCategory="github"
84     />
85   </div>
86 </div>
87 `;