]> source.dussan.org Git - sonarqube.git/blob
aaf2b45033d6c33d50f954158de0738c2df1c92f
[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     additionalColumnsHeaders={
9       Array [
10         "settings.almintegration.table.column.github.url",
11         "settings.almintegration.table.column.app_id",
12       ]
13     }
14     additionalColumnsKeys={
15       Array [
16         "url",
17         "appId",
18       ]
19     }
20     alm="github"
21     createConfiguration={[Function]}
22     defaultBinding={
23       Object {
24         "appId": "",
25         "key": "",
26         "privateKey": "",
27         "url": "",
28       }
29     }
30     definitions={
31       Array [
32         Object {
33           "appId": "123456",
34           "key": "key",
35           "privateKey": "asdf1234",
36           "url": "http://github.enterprise.com",
37         },
38       ]
39     }
40     features={
41       Array [
42         Object {
43           "active": true,
44           "description": "settings.almintegration.feature.pr_decoration.description",
45           "inactiveReason": "settings.almintegration.feature.need_at_least_1_binding",
46           "name": "settings.almintegration.feature.pr_decoration.title",
47         },
48       ]
49     }
50     form={[Function]}
51     loading={false}
52     multipleAlmEnabled={true}
53     onDelete={[MockFunction]}
54     onUpdateDefinitions={[MockFunction]}
55     updateConfiguration={[Function]}
56   />
57   <div
58     className="huge-spacer-top huge-spacer-bottom bordered-top"
59   />
60   <div
61     className="big-padded"
62   >
63     <Connect(SubCategoryDefinitionsList)
64       category="almintegration"
65       subCategory="github"
66     />
67   </div>
68 </div>
69 `;
70
71 exports[`should render correctly: without branch support 1`] = `
72 <div
73   className="bordered"
74 >
75   <div
76     className="big-padded"
77   >
78     <Connect(SubCategoryDefinitionsList)
79       category="almintegration"
80       subCategory="github"
81     />
82   </div>
83 </div>
84 `;