]> source.dussan.org Git - sonarqube.git/blob
bbe0c710dd03032a6ee819d8378193d98c3f8fa3
[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 hide-overflow"
54     style={
55       Object {
56         "maxWidth": 400,
57       }
58     }
59   >
60     <span
61       className="note"
62     >
63       project
64     </span>
65   </td>
66   <td
67     className="thin nowrap text-right"
68   >
69     <span
70       className="note"
71     >
72       —
73     </span>
74   </td>
75   <td
76     className="thin nowrap"
77   >
78     <ProjectRowActions
79       currentUser={
80         Object {
81           "login": "foo",
82         }
83       }
84       project={
85         Object {
86           "key": "project",
87           "name": "Project",
88           "qualifier": "TRK",
89           "visibility": "private",
90         }
91       }
92     />
93   </td>
94 </tr>
95 `;
96
97 exports[`renders 2`] = `
98 <tr>
99   <td
100     className="thin"
101   >
102     <Checkbox
103       checked={true}
104       onCheck={[Function]}
105       thirdState={false}
106     />
107   </td>
108   <td
109     className="nowrap"
110   >
111     <Link
112       className="link-with-icon"
113       onlyActiveOnIndex={false}
114       style={Object {}}
115       to={
116         Object {
117           "pathname": "/dashboard",
118           "query": Object {
119             "id": "project",
120           },
121         }
122       }
123     >
124       <QualifierIcon
125         qualifier="TRK"
126       />
127        
128       <span>
129         Project
130       </span>
131     </Link>
132   </td>
133   <td
134     className="thin nowrap"
135   >
136     <Connect(PrivacyBadge)
137       qualifier="TRK"
138       tooltipProps={
139         Object {
140           "projectKey": "project",
141         }
142       }
143       visibility="private"
144     />
145   </td>
146   <td
147     className="nowrap hide-overflow"
148     style={
149       Object {
150         "maxWidth": 400,
151       }
152     }
153   >
154     <span
155       className="note"
156     >
157       project
158     </span>
159   </td>
160   <td
161     className="thin nowrap text-right"
162   >
163     <DateTooltipFormatter
164       date="2017-04-08T00:00:00.000Z"
165     />
166   </td>
167   <td
168     className="thin nowrap"
169   >
170     <ProjectRowActions
171       currentUser={
172         Object {
173           "login": "foo",
174         }
175       }
176       project={
177         Object {
178           "key": "project",
179           "lastAnalysisDate": "2017-04-08T00:00:00.000Z",
180           "name": "Project",
181           "qualifier": "TRK",
182           "visibility": "private",
183         }
184       }
185     />
186   </td>
187 </tr>
188 `;