Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

App-test.tsx.snap 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should be in loading status 1`] = `
  3. <Fragment>
  4. <Suggestions
  5. suggestions="webhooks"
  6. />
  7. <Helmet
  8. defer={false}
  9. encodeSpecialCharacters={true}
  10. prioritizeSeoTags={false}
  11. title="webhooks.page"
  12. />
  13. <div
  14. className="page page-limited"
  15. >
  16. <PageHeader
  17. loading={true}
  18. >
  19. <PageActions
  20. loading={true}
  21. onCreate={[Function]}
  22. webhooksCount={0}
  23. />
  24. </PageHeader>
  25. </div>
  26. </Fragment>
  27. `;
  28. exports[`should fetch webhooks and display them 1`] = `
  29. <Fragment>
  30. <Suggestions
  31. suggestions="webhooks"
  32. />
  33. <Helmet
  34. defer={false}
  35. encodeSpecialCharacters={true}
  36. prioritizeSeoTags={false}
  37. title="webhooks.page"
  38. />
  39. <div
  40. className="page page-limited"
  41. >
  42. <PageHeader
  43. loading={false}
  44. >
  45. <PageActions
  46. loading={false}
  47. onCreate={[Function]}
  48. webhooksCount={2}
  49. />
  50. </PageHeader>
  51. <div
  52. className="boxed-group boxed-group-inner"
  53. >
  54. <WebhooksList
  55. onDelete={[Function]}
  56. onUpdate={[Function]}
  57. webhooks={
  58. [
  59. {
  60. "hasSecret": false,
  61. "key": "1",
  62. "name": "foo",
  63. "url": "http://foo",
  64. },
  65. {
  66. "hasSecret": false,
  67. "key": "2",
  68. "name": "bar",
  69. "url": "http://bar",
  70. },
  71. ]
  72. }
  73. />
  74. </div>
  75. </div>
  76. </Fragment>
  77. `;