]> source.dussan.org Git - sonarqube.git/blob
a039ff5b3eee111846afafdfa84252082f63507c
[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     loadingAlmDefinitions={false}
47     loadingProjectCount={false}
48     multipleAlmEnabled={true}
49     onDelete={[MockFunction]}
50     onUpdateDefinitions={[MockFunction]}
51     optionalFields={
52       Array [
53         "url",
54       ]
55     }
56     updateConfiguration={[Function]}
57   />
58   <div
59     className="huge-spacer-top huge-spacer-bottom bordered-top"
60   />
61   <div
62     className="big-padded"
63   >
64     <Connect(SubCategoryDefinitionsList)
65       category="almintegration"
66       subCategory="gitlab"
67     />
68   </div>
69 </div>
70 `;
71
72 exports[`should render correctly: without branch support 1`] = `
73 <div
74   className="bordered"
75 >
76   <div
77     className="big-padded"
78   >
79     <Connect(SubCategoryDefinitionsList)
80       category="almintegration"
81       subCategory="gitlab"
82     />
83   </div>
84 </div>
85 `;