]> source.dussan.org Git - sonarqube.git/blob
cf08f0136019706111ac7926747af992f70e0f9c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should correctly render empty webhook list 1`] = `
4 <p>
5   webhooks.no_result
6 </p>
7 `;
8
9 exports[`should correctly render the webhooks 1`] = `
10 <table
11   className="data zebra"
12 >
13   <thead>
14     <tr>
15       <th>
16         name
17       </th>
18       <th>
19         webhooks.url
20       </th>
21       <th>
22         webhooks.secret_header
23       </th>
24       <th>
25         webhooks.last_execution
26       </th>
27       <th />
28     </tr>
29   </thead>
30   <tbody>
31     <WebhookItem
32       key="2"
33       onDelete={[MockFunction]}
34       onUpdate={[MockFunction]}
35       webhook={
36         {
37           "key": "2",
38           "name": "jenkins webhook",
39           "url": "http://jenkins.target",
40         }
41       }
42     />
43     <WebhookItem
44       key="1"
45       onDelete={[MockFunction]}
46       onUpdate={[MockFunction]}
47       webhook={
48         {
49           "key": "1",
50           "name": "my webhook",
51           "url": "http://webhook.target",
52         }
53       }
54     />
55   </tbody>
56 </table>
57 `;