You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

WebhookItem-test.tsx.snap 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should render correctly 1`] = `
  3. <tr>
  4. <td>
  5. my webhook
  6. </td>
  7. <td>
  8. http://webhook.target
  9. </td>
  10. <td>
  11. no
  12. </td>
  13. <td>
  14. <WebhookItemLatestDelivery
  15. webhook={
  16. {
  17. "hasSecret": false,
  18. "key": "1",
  19. "name": "my webhook",
  20. "url": "http://webhook.target",
  21. }
  22. }
  23. />
  24. </td>
  25. <td
  26. className="sw-text-right"
  27. >
  28. <WebhookActions
  29. onDelete={[MockFunction]}
  30. onUpdate={[MockFunction]}
  31. webhook={
  32. {
  33. "hasSecret": false,
  34. "key": "1",
  35. "name": "my webhook",
  36. "url": "http://webhook.target",
  37. }
  38. }
  39. />
  40. </td>
  41. </tr>
  42. `;
  43. exports[`should render correctly 2`] = `
  44. <tr>
  45. <td>
  46. my webhook
  47. </td>
  48. <td>
  49. http://webhook.target
  50. </td>
  51. <td>
  52. yes
  53. </td>
  54. <td>
  55. <WebhookItemLatestDelivery
  56. webhook={
  57. {
  58. "hasSecret": true,
  59. "key": "1",
  60. "name": "my webhook",
  61. "url": "http://webhook.target",
  62. }
  63. }
  64. />
  65. </td>
  66. <td
  67. className="sw-text-right"
  68. >
  69. <WebhookActions
  70. onDelete={[MockFunction]}
  71. onUpdate={[MockFunction]}
  72. webhook={
  73. {
  74. "hasSecret": true,
  75. "key": "1",
  76. "name": "my webhook",
  77. "url": "http://webhook.target",
  78. }
  79. }
  80. />
  81. </td>
  82. </tr>
  83. `;