]> source.dussan.org Git - sonarqube.git/blob
f97f8899d353ba67a255fafdc641e3a7f7fcf407
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders 1`] = `
4 <tr>
5   <td
6     className="thin"
7   >
8     <Checkbox
9       checked={true}
10       onCheck={[Function]}
11       thirdState={false}
12     />
13   </td>
14   <td
15     className="nowrap"
16   >
17     <Link
18       className="link-with-icon"
19       onlyActiveOnIndex={false}
20       style={Object {}}
21       to={
22         Object {
23           "pathname": "/dashboard",
24           "query": Object {
25             "id": "project",
26           },
27         }
28       }
29     >
30       <QualifierIcon
31         qualifier="TRK"
32       />
33        
34       <span>
35         Project
36       </span>
37     </Link>
38   </td>
39   <td
40     className="thin nowrap"
41   >
42     <Connect(PrivacyBadge)
43       qualifier="TRK"
44       tooltipProps={
45         Object {
46           "projectKey": "project",
47         }
48       }
49       visibility="private"
50     />
51   </td>
52   <td
53     className="nowrap"
54   >
55     <span
56       className="note"
57     >
58       project
59     </span>
60   </td>
61   <td
62     className="thin nowrap text-right"
63   >
64     <span
65       className="note"
66     >
67       —
68     </span>
69   </td>
70   <td
71     className="thin nowrap"
72   >
73     <ProjectRowActions
74       currentUser={
75         Object {
76           "login": "foo",
77         }
78       }
79       project={
80         Object {
81           "key": "project",
82           "name": "Project",
83           "qualifier": "TRK",
84           "visibility": "private",
85         }
86       }
87     />
88   </td>
89 </tr>
90 `;
91
92 exports[`renders 2`] = `
93 <tr>
94   <td
95     className="thin"
96   >
97     <Checkbox
98       checked={true}
99       onCheck={[Function]}
100       thirdState={false}
101     />
102   </td>
103   <td
104     className="nowrap"
105   >
106     <Link
107       className="link-with-icon"
108       onlyActiveOnIndex={false}
109       style={Object {}}
110       to={
111         Object {
112           "pathname": "/dashboard",
113           "query": Object {
114             "id": "project",
115           },
116         }
117       }
118     >
119       <QualifierIcon
120         qualifier="TRK"
121       />
122        
123       <span>
124         Project
125       </span>
126     </Link>
127   </td>
128   <td
129     className="thin nowrap"
130   >
131     <Connect(PrivacyBadge)
132       qualifier="TRK"
133       tooltipProps={
134         Object {
135           "projectKey": "project",
136         }
137       }
138       visibility="private"
139     />
140   </td>
141   <td
142     className="nowrap"
143   >
144     <span
145       className="note"
146     >
147       project
148     </span>
149   </td>
150   <td
151     className="thin nowrap text-right"
152   >
153     <DateTooltipFormatter
154       date="2017-04-08T00:00:00.000Z"
155     />
156   </td>
157   <td
158     className="thin nowrap"
159   >
160     <ProjectRowActions
161       currentUser={
162         Object {
163           "login": "foo",
164         }
165       }
166       project={
167         Object {
168           "key": "project",
169           "lastAnalysisDate": "2017-04-08T00:00:00.000Z",
170           "name": "Project",
171           "qualifier": "TRK",
172           "visibility": "private",
173         }
174       }
175     />
176   </td>
177 </tr>
178 `;