PluginListItem.test.tsx.snap 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Render should render component 1`] = `
  3. <li
  4. className="card-item-wrapper"
  5. >
  6. <a
  7. className="card-item"
  8. href="plugins/1/edit"
  9. >
  10. <div
  11. className="card-item-header"
  12. >
  13. <div
  14. className="card-item-type"
  15. >
  16. <i
  17. className="icon-gf icon-gf-"
  18. />
  19. </div>
  20. </div>
  21. <div
  22. className="card-item-body"
  23. >
  24. <figure
  25. className="card-item-figure"
  26. >
  27. <img
  28. src="small/logo"
  29. />
  30. </figure>
  31. <div
  32. className="card-item-details"
  33. >
  34. <div
  35. className="card-item-name"
  36. >
  37. pretty cool plugin 1
  38. </div>
  39. <div
  40. className="card-item-sub-name"
  41. >
  42. By Grafana Labs
  43. </div>
  44. </div>
  45. </div>
  46. </a>
  47. </li>
  48. `;
  49. exports[`Render should render has plugin section 1`] = `
  50. <li
  51. className="card-item-wrapper"
  52. >
  53. <a
  54. className="card-item"
  55. href="plugins/1/edit"
  56. >
  57. <div
  58. className="card-item-header"
  59. >
  60. <div
  61. className="card-item-type"
  62. >
  63. <i
  64. className="icon-gf icon-gf-"
  65. />
  66. </div>
  67. <div
  68. className="card-item-notice"
  69. >
  70. <span
  71. bs-tooltip="plugin.latestVersion"
  72. >
  73. Update available!
  74. </span>
  75. </div>
  76. </div>
  77. <div
  78. className="card-item-body"
  79. >
  80. <figure
  81. className="card-item-figure"
  82. >
  83. <img
  84. src="small/logo"
  85. />
  86. </figure>
  87. <div
  88. className="card-item-details"
  89. >
  90. <div
  91. className="card-item-name"
  92. >
  93. pretty cool plugin 1
  94. </div>
  95. <div
  96. className="card-item-sub-name"
  97. >
  98. By Grafana Labs
  99. </div>
  100. </div>
  101. </div>
  102. </a>
  103. </li>
  104. `;