]> source.dussan.org Git - sonarqube.git/blob
cc29119b1e9fda85c6fb8662da0186707c113cd2
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <ul
5   className="settings-sub-categories-list"
6 >
7   <li
8     key="email"
9   >
10     <h2
11       className="settings-sub-category-name"
12       data-key="email"
13     >
14       email
15     </h2>
16     <DefinitionsList
17       scrollToDefinition={[Function]}
18       settings={
19         Array [
20           Object {
21             "definition": Object {
22               "category": "general",
23               "description": "When Foo then Bar",
24               "fields": Array [],
25               "key": "foo",
26               "name": "Foo setting",
27               "options": Array [],
28               "subCategory": "email",
29               "type": "INTEGER",
30             },
31             "inherited": true,
32             "key": "foo",
33             "value": "42",
34           },
35         ]
36       }
37     />
38     <Connect(withCurrentUser(EmailForm)) />
39   </li>
40   <li
41     key="qg"
42   >
43     <h2
44       className="settings-sub-category-name"
45       data-key="qg"
46     >
47       qg
48     </h2>
49     <DefinitionsList
50       scrollToDefinition={[Function]}
51       settings={
52         Array [
53           Object {
54             "definition": Object {
55               "category": "general",
56               "description": "awesome description",
57               "fields": Array [],
58               "key": "qg",
59               "options": Array [],
60               "subCategory": "qg",
61             },
62             "inherited": true,
63             "key": "foo",
64             "value": "42",
65           },
66         ]
67       }
68     />
69   </li>
70 </ul>
71 `;
72
73 exports[`should render correctly: subcategory 1`] = `
74 <ul
75   className="settings-sub-categories-list"
76 >
77   <li
78     key="qg"
79   >
80     <h2
81       className="settings-sub-category-name"
82       data-key="qg"
83     >
84       qg
85     </h2>
86     <DefinitionsList
87       scrollToDefinition={[Function]}
88       settings={
89         Array [
90           Object {
91             "definition": Object {
92               "category": "general",
93               "description": "awesome description",
94               "fields": Array [],
95               "key": "qg",
96               "options": Array [],
97               "subCategory": "qg",
98             },
99             "inherited": true,
100             "key": "foo",
101             "value": "42",
102           },
103         ]
104       }
105     />
106   </li>
107 </ul>
108 `;