]> source.dussan.org Git - sonarqube.git/blob
1fc0062503f08b2180546e627d94a5e43c163ce2
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div
5   className="layout-page"
6 >
7   <Suggestions
8     suggestions="api_documentation"
9   />
10   <Helmet
11     defer={false}
12     encodeSpecialCharacters={true}
13     prioritizeSeoTags={false}
14     title="api_documentation.page"
15   />
16   <ScreenPositionHelper
17     className="layout-page-side-outer"
18   >
19     <Component />
20   </ScreenPositionHelper>
21   <div
22     className="layout-page-main"
23   >
24     <div
25       className="layout-page-main-inner"
26     >
27       <Domain
28         domain={
29           Object {
30             "actions": Array [],
31             "deprecatedSince": undefined,
32             "description": "foo",
33             "internal": true,
34             "path": "foo/bar",
35             "since": "1.0",
36           }
37         }
38         key="foo/bar"
39         query={
40           Object {
41             "deprecated": false,
42             "internal": false,
43             "search": "",
44           }
45         }
46       />
47     </div>
48   </div>
49 </div>
50 `;
51
52 exports[`should render correctly 2`] = `
53 <div
54   className="layout-page-side"
55   style={
56     Object {
57       "top": 0,
58     }
59   }
60 >
61   <div
62     className="layout-page-side-inner"
63   >
64     <div
65       className="layout-page-filters"
66     >
67       <A11ySkipTarget
68         anchor="webapi_main"
69       />
70       <div
71         className="web-api-page-header"
72       >
73         <Link
74           to="/web_api/"
75         >
76           <h1>
77             api_documentation.page
78           </h1>
79         </Link>
80       </div>
81       <Search
82         onSearch={[Function]}
83         onToggleDeprecated={[Function]}
84         onToggleInternal={[Function]}
85         query={
86           Object {
87             "deprecated": false,
88             "internal": false,
89             "search": "",
90           }
91         }
92       />
93       <Menu
94         domains={
95           Array [
96             Object {
97               "actions": Array [],
98               "deprecatedSince": undefined,
99               "description": "foo",
100               "internal": true,
101               "path": "foo/bar",
102               "since": "1.0",
103             },
104           ]
105         }
106         query={
107           Object {
108             "deprecated": false,
109             "internal": false,
110             "search": "",
111           }
112         }
113         splat="foo/bar"
114       />
115     </div>
116   </div>
117 </div>
118 `;