]> source.dussan.org Git - sonarqube.git/blob
fb1121921b8c7292ae1eb5a151bff7cdcb6a36a4
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should limit displayed orgs to the first three 1`] = `
4 <div>
5   <ul>
6     <li
7       key="bar"
8     >
9       <withRouter(OrganizationsShortListItem)
10         onClick={[MockFunction]}
11         organization={
12           Object {
13             "key": "bar",
14             "name": "Bar",
15           }
16         }
17       />
18     </li>
19     <li
20       key="foo"
21     >
22       <withRouter(OrganizationsShortListItem)
23         onClick={[MockFunction]}
24         organization={
25           Object {
26             "key": "foo",
27             "name": "Foo",
28           }
29         }
30       />
31     </li>
32     <li
33       key="kor"
34     >
35       <withRouter(OrganizationsShortListItem)
36         onClick={[MockFunction]}
37         organization={
38           Object {
39             "key": "kor",
40             "name": "Kor",
41           }
42         }
43       />
44     </li>
45   </ul>
46   <div
47     className="big-spacer-top"
48   >
49     <span
50       className="big-spacer-right"
51     >
52       x_of_y_shown.3.4
53     </span>
54     <Link
55       className="small"
56       onClick={[MockFunction]}
57       onlyActiveOnIndex={false}
58       style={Object {}}
59       to="/account/organizations"
60     >
61       see_all
62     </Link>
63   </div>
64 </div>
65 `;
66
67 exports[`should render correctly 1`] = `
68 <div>
69   <ul>
70     <li
71       key="bar"
72     >
73       <withRouter(OrganizationsShortListItem)
74         onClick={[MockFunction]}
75         organization={
76           Object {
77             "key": "bar",
78             "name": "Bar",
79           }
80         }
81       />
82     </li>
83     <li
84       key="foo"
85     >
86       <withRouter(OrganizationsShortListItem)
87         onClick={[MockFunction]}
88         organization={
89           Object {
90             "key": "foo",
91             "name": "Foo",
92           }
93         }
94       />
95     </li>
96   </ul>
97 </div>
98 `;