123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
-
- exports[`should correctly render empty webhook list 1`] = `
- <p>
- webhooks.no_result
- </p>
- `;
-
- exports[`should correctly render the webhooks 1`] = `
- <table
- className="data zebra"
- >
- <thead>
- <tr>
- <th>
- name
- </th>
- <th>
- webhooks.url
- </th>
- <th>
- webhooks.secret_header
- </th>
- <th>
- webhooks.last_execution
- </th>
- <th
- className="sw-text-right"
- >
- actions
- </th>
- </tr>
- </thead>
- <tbody>
- <WebhookItem
- key="2"
- onDelete={[MockFunction]}
- onUpdate={[MockFunction]}
- webhook={
- {
- "hasSecret": false,
- "key": "2",
- "name": "jenkins webhook",
- "url": "http://jenkins.target",
- }
- }
- />
- <WebhookItem
- key="1"
- onDelete={[MockFunction]}
- onUpdate={[MockFunction]}
- webhook={
- {
- "hasSecret": false,
- "key": "1",
- "name": "my webhook",
- "url": "http://webhook.target",
- }
- }
- />
- </tbody>
- </table>
- `;
|