]> source.dussan.org Git - sonarqube.git/blob
2df2eed98cdab8100d1b6c79097d769a5a9e8bc2
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <tr>
5   <td
6     className="nowrap text-middle"
7   >
8     <Connect(Avatar)
9       className="text-middle big-spacer-right"
10       name="John Doe"
11       size={36}
12     />
13     <div
14       className="display-inline-block text-middle"
15     >
16       <div>
17         <strong>
18           John Doe
19         </strong>
20         <span
21           className="note spacer-left"
22         >
23           john doe
24         </span>
25       </div>
26       <div
27         className="little-spacer-top"
28       >
29         john.doe@sonarsource.com
30       </div>
31     </div>
32   </td>
33   <PermissionCell
34     key="admin"
35     loading={Array []}
36     onCheck={[Function]}
37     permission={
38       Object {
39         "category": "admin",
40         "permissions": Array [
41           Object {
42             "description": "",
43             "key": "foo",
44             "name": "Foo",
45           },
46           Object {
47             "description": "",
48             "key": "bar",
49             "name": "Bar",
50           },
51         ],
52       }
53     }
54     permissionItem={
55       Object {
56         "email": "john.doe@sonarsource.com",
57         "login": "john doe",
58         "name": "John Doe",
59         "permissions": Array [
60           "bar",
61         ],
62       }
63     }
64     selectedPermission="bar"
65   />
66   <PermissionCell
67     key="baz"
68     loading={Array []}
69     onCheck={[Function]}
70     permission={
71       Object {
72         "description": "",
73         "key": "baz",
74         "name": "Baz",
75       }
76     }
77     permissionItem={
78       Object {
79         "email": "john.doe@sonarsource.com",
80         "login": "john doe",
81         "name": "John Doe",
82         "permissions": Array [
83           "bar",
84         ],
85       }
86     }
87     selectedPermission="bar"
88   />
89 </tr>
90 `;
91
92 exports[`should show user details for SonarCloud 1`] = `
93 <div
94   className="display-inline-block text-middle"
95 >
96   <div>
97     <strong>
98       John Doe
99     </strong>
100   </div>
101   <div
102     className="note little-spacer-top"
103   >
104     john doe
105   </div>
106 </div>
107 `;
108
109 exports[`should show user details for SonarQube 1`] = `
110 <div
111   className="display-inline-block text-middle"
112 >
113   <div>
114     <strong>
115       John Doe
116     </strong>
117     <span
118       className="note spacer-left"
119     >
120       john doe
121     </span>
122   </div>
123   <div
124     className="little-spacer-top"
125   >
126     john.doe@sonarsource.com
127   </div>
128 </div>
129 `;