PluginList.test.tsx.snap 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Render should render component 1`] = `
  3. <section
  4. className="card-section card-list-layout-grid"
  5. >
  6. <ol
  7. className="card-list"
  8. >
  9. <PluginListItem
  10. key="pretty cool plugin-0-0"
  11. plugin={
  12. Object {
  13. "defaultNavUrl": "some/url",
  14. "enabled": false,
  15. "hasUpdate": false,
  16. "id": "0",
  17. "info": Object {
  18. "author": Object {
  19. "name": "Grafana Labs",
  20. "url": "url/to/GrafanaLabs",
  21. },
  22. "description": "pretty decent plugin",
  23. "links": Array [
  24. "one link",
  25. ],
  26. "logos": Object {
  27. "large": "large/logo",
  28. "small": "small/logo",
  29. },
  30. "screenshots": "screenshot/0",
  31. "updated": "2018-09-26",
  32. "version": "1",
  33. },
  34. "latestVersion": "1.0",
  35. "module": Object {},
  36. "name": "pretty cool plugin-0",
  37. "pinned": false,
  38. "state": "",
  39. "type": "",
  40. }
  41. }
  42. />
  43. <PluginListItem
  44. key="pretty cool plugin-1-1"
  45. plugin={
  46. Object {
  47. "defaultNavUrl": "some/url",
  48. "enabled": false,
  49. "hasUpdate": false,
  50. "id": "1",
  51. "info": Object {
  52. "author": Object {
  53. "name": "Grafana Labs",
  54. "url": "url/to/GrafanaLabs",
  55. },
  56. "description": "pretty decent plugin",
  57. "links": Array [
  58. "one link",
  59. ],
  60. "logos": Object {
  61. "large": "large/logo",
  62. "small": "small/logo",
  63. },
  64. "screenshots": "screenshot/1",
  65. "updated": "2018-09-26",
  66. "version": "1",
  67. },
  68. "latestVersion": "1.1",
  69. "module": Object {},
  70. "name": "pretty cool plugin-1",
  71. "pinned": false,
  72. "state": "",
  73. "type": "",
  74. }
  75. }
  76. />
  77. <PluginListItem
  78. key="pretty cool plugin-2-2"
  79. plugin={
  80. Object {
  81. "defaultNavUrl": "some/url",
  82. "enabled": false,
  83. "hasUpdate": false,
  84. "id": "2",
  85. "info": Object {
  86. "author": Object {
  87. "name": "Grafana Labs",
  88. "url": "url/to/GrafanaLabs",
  89. },
  90. "description": "pretty decent plugin",
  91. "links": Array [
  92. "one link",
  93. ],
  94. "logos": Object {
  95. "large": "large/logo",
  96. "small": "small/logo",
  97. },
  98. "screenshots": "screenshot/2",
  99. "updated": "2018-09-26",
  100. "version": "1",
  101. },
  102. "latestVersion": "1.2",
  103. "module": Object {},
  104. "name": "pretty cool plugin-2",
  105. "pinned": false,
  106. "state": "",
  107. "type": "",
  108. }
  109. }
  110. />
  111. <PluginListItem
  112. key="pretty cool plugin-3-3"
  113. plugin={
  114. Object {
  115. "defaultNavUrl": "some/url",
  116. "enabled": false,
  117. "hasUpdate": false,
  118. "id": "3",
  119. "info": Object {
  120. "author": Object {
  121. "name": "Grafana Labs",
  122. "url": "url/to/GrafanaLabs",
  123. },
  124. "description": "pretty decent plugin",
  125. "links": Array [
  126. "one link",
  127. ],
  128. "logos": Object {
  129. "large": "large/logo",
  130. "small": "small/logo",
  131. },
  132. "screenshots": "screenshot/3",
  133. "updated": "2018-09-26",
  134. "version": "1",
  135. },
  136. "latestVersion": "1.3",
  137. "module": Object {},
  138. "name": "pretty cool plugin-3",
  139. "pinned": false,
  140. "state": "",
  141. "type": "",
  142. }
  143. }
  144. />
  145. <PluginListItem
  146. key="pretty cool plugin-4-4"
  147. plugin={
  148. Object {
  149. "defaultNavUrl": "some/url",
  150. "enabled": false,
  151. "hasUpdate": false,
  152. "id": "4",
  153. "info": Object {
  154. "author": Object {
  155. "name": "Grafana Labs",
  156. "url": "url/to/GrafanaLabs",
  157. },
  158. "description": "pretty decent plugin",
  159. "links": Array [
  160. "one link",
  161. ],
  162. "logos": Object {
  163. "large": "large/logo",
  164. "small": "small/logo",
  165. },
  166. "screenshots": "screenshot/4",
  167. "updated": "2018-09-26",
  168. "version": "1",
  169. },
  170. "latestVersion": "1.4",
  171. "module": Object {},
  172. "name": "pretty cool plugin-4",
  173. "pinned": false,
  174. "state": "",
  175. "type": "",
  176. }
  177. }
  178. />
  179. <PluginListItem
  180. key="pretty cool plugin-5-5"
  181. plugin={
  182. Object {
  183. "defaultNavUrl": "some/url",
  184. "enabled": false,
  185. "hasUpdate": false,
  186. "id": "5",
  187. "info": Object {
  188. "author": Object {
  189. "name": "Grafana Labs",
  190. "url": "url/to/GrafanaLabs",
  191. },
  192. "description": "pretty decent plugin",
  193. "links": Array [
  194. "one link",
  195. ],
  196. "logos": Object {
  197. "large": "large/logo",
  198. "small": "small/logo",
  199. },
  200. "screenshots": "screenshot/5",
  201. "updated": "2018-09-26",
  202. "version": "1",
  203. },
  204. "latestVersion": "1.5",
  205. "module": Object {},
  206. "name": "pretty cool plugin-5",
  207. "pinned": false,
  208. "state": "",
  209. "type": "",
  210. }
  211. }
  212. />
  213. </ol>
  214. </section>
  215. `;