DashboardsTable.test.tsx.snap 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Render should render component 1`] = `
  3. <table
  4. className="filter-table"
  5. >
  6. <tbody />
  7. </table>
  8. `;
  9. exports[`Render should render table 1`] = `
  10. <table
  11. className="filter-table"
  12. >
  13. <tbody>
  14. <tr
  15. key="0-0"
  16. >
  17. <td
  18. className="width-1"
  19. >
  20. <Icon
  21. name="apps"
  22. />
  23. </td>
  24. <td>
  25. <span>
  26. Graphite Carbon Metrics
  27. </span>
  28. </td>
  29. <td
  30. style={
  31. Object {
  32. "textAlign": "right",
  33. }
  34. }
  35. >
  36. <Button
  37. onClick={[Function]}
  38. size="sm"
  39. variant="secondary"
  40. >
  41. Import
  42. </Button>
  43. </td>
  44. </tr>
  45. <tr
  46. key="0-1"
  47. >
  48. <td
  49. className="width-1"
  50. >
  51. <Icon
  52. name="apps"
  53. />
  54. </td>
  55. <td>
  56. <a
  57. href=""
  58. >
  59. Graphite Carbon Metrics
  60. </a>
  61. </td>
  62. <td
  63. style={
  64. Object {
  65. "textAlign": "right",
  66. }
  67. }
  68. >
  69. <Button
  70. onClick={[Function]}
  71. size="sm"
  72. variant="secondary"
  73. >
  74. Update
  75. </Button>
  76. <Button
  77. icon="trash-alt"
  78. onClick={[Function]}
  79. size="sm"
  80. variant="destructive"
  81. />
  82. </td>
  83. </tr>
  84. </tbody>
  85. </table>
  86. `;