]> source.dussan.org Git - sonarqube.git/blob
92b5d755cddcb4e0a942257903f4855b14d85ea3
[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.gitlab.url",
11       ]
12     }
13     additionalColumnsKeys={
14       Array [
15         "url",
16       ]
17     }
18     alm="gitlab"
19     createConfiguration={[Function]}
20     defaultBinding={
21       Object {
22         "key": "",
23         "personalAccessToken": "",
24         "url": "",
25       }
26     }
27     definitions={
28       Array [
29         Object {
30           "key": "foo",
31           "personalAccessToken": "foobar",
32         },
33       ]
34     }
35     features={
36       Array [
37         Object {
38           "active": true,
39           "description": "settings.almintegration.feature.mr_decoration.description",
40           "inactiveReason": "settings.almintegration.feature.need_at_least_1_binding",
41           "name": "settings.almintegration.feature.mr_decoration.title",
42         },
43       ]
44     }
45     form={[Function]}
46     loading={false}
47     multipleAlmEnabled={true}
48     onDelete={[MockFunction]}
49     onUpdateDefinitions={[MockFunction]}
50     optionalFields={
51       Array [
52         "url",
53       ]
54     }
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="gitlab"
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="gitlab"
81     />
82   </div>
83 </div>
84 `;