PluginList.test.tsx.snap 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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": Array [
  31. Object {
  32. "path": "screenshot/0",
  33. },
  34. ],
  35. "updated": "2018-09-26",
  36. "version": "1",
  37. },
  38. "latestVersion": "1.0",
  39. "module": Object {},
  40. "name": "pretty cool plugin-0",
  41. "pinned": false,
  42. "state": "",
  43. "type": "",
  44. }
  45. }
  46. />
  47. <PluginListItem
  48. key="pretty cool plugin-1-1"
  49. plugin={
  50. Object {
  51. "defaultNavUrl": "some/url",
  52. "enabled": false,
  53. "hasUpdate": false,
  54. "id": "1",
  55. "info": Object {
  56. "author": Object {
  57. "name": "Grafana Labs",
  58. "url": "url/to/GrafanaLabs",
  59. },
  60. "description": "pretty decent plugin",
  61. "links": Array [
  62. "one link",
  63. ],
  64. "logos": Object {
  65. "large": "large/logo",
  66. "small": "small/logo",
  67. },
  68. "screenshots": Array [
  69. Object {
  70. "path": "screenshot/1",
  71. },
  72. ],
  73. "updated": "2018-09-26",
  74. "version": "1",
  75. },
  76. "latestVersion": "1.1",
  77. "module": Object {},
  78. "name": "pretty cool plugin-1",
  79. "pinned": false,
  80. "state": "",
  81. "type": "",
  82. }
  83. }
  84. />
  85. <PluginListItem
  86. key="pretty cool plugin-2-2"
  87. plugin={
  88. Object {
  89. "defaultNavUrl": "some/url",
  90. "enabled": false,
  91. "hasUpdate": false,
  92. "id": "2",
  93. "info": Object {
  94. "author": Object {
  95. "name": "Grafana Labs",
  96. "url": "url/to/GrafanaLabs",
  97. },
  98. "description": "pretty decent plugin",
  99. "links": Array [
  100. "one link",
  101. ],
  102. "logos": Object {
  103. "large": "large/logo",
  104. "small": "small/logo",
  105. },
  106. "screenshots": Array [
  107. Object {
  108. "path": "screenshot/2",
  109. },
  110. ],
  111. "updated": "2018-09-26",
  112. "version": "1",
  113. },
  114. "latestVersion": "1.2",
  115. "module": Object {},
  116. "name": "pretty cool plugin-2",
  117. "pinned": false,
  118. "state": "",
  119. "type": "",
  120. }
  121. }
  122. />
  123. <PluginListItem
  124. key="pretty cool plugin-3-3"
  125. plugin={
  126. Object {
  127. "defaultNavUrl": "some/url",
  128. "enabled": false,
  129. "hasUpdate": false,
  130. "id": "3",
  131. "info": Object {
  132. "author": Object {
  133. "name": "Grafana Labs",
  134. "url": "url/to/GrafanaLabs",
  135. },
  136. "description": "pretty decent plugin",
  137. "links": Array [
  138. "one link",
  139. ],
  140. "logos": Object {
  141. "large": "large/logo",
  142. "small": "small/logo",
  143. },
  144. "screenshots": Array [
  145. Object {
  146. "path": "screenshot/3",
  147. },
  148. ],
  149. "updated": "2018-09-26",
  150. "version": "1",
  151. },
  152. "latestVersion": "1.3",
  153. "module": Object {},
  154. "name": "pretty cool plugin-3",
  155. "pinned": false,
  156. "state": "",
  157. "type": "",
  158. }
  159. }
  160. />
  161. <PluginListItem
  162. key="pretty cool plugin-4-4"
  163. plugin={
  164. Object {
  165. "defaultNavUrl": "some/url",
  166. "enabled": false,
  167. "hasUpdate": false,
  168. "id": "4",
  169. "info": Object {
  170. "author": Object {
  171. "name": "Grafana Labs",
  172. "url": "url/to/GrafanaLabs",
  173. },
  174. "description": "pretty decent plugin",
  175. "links": Array [
  176. "one link",
  177. ],
  178. "logos": Object {
  179. "large": "large/logo",
  180. "small": "small/logo",
  181. },
  182. "screenshots": Array [
  183. Object {
  184. "path": "screenshot/4",
  185. },
  186. ],
  187. "updated": "2018-09-26",
  188. "version": "1",
  189. },
  190. "latestVersion": "1.4",
  191. "module": Object {},
  192. "name": "pretty cool plugin-4",
  193. "pinned": false,
  194. "state": "",
  195. "type": "",
  196. }
  197. }
  198. />
  199. <PluginListItem
  200. key="pretty cool plugin-5-5"
  201. plugin={
  202. Object {
  203. "defaultNavUrl": "some/url",
  204. "enabled": false,
  205. "hasUpdate": false,
  206. "id": "5",
  207. "info": Object {
  208. "author": Object {
  209. "name": "Grafana Labs",
  210. "url": "url/to/GrafanaLabs",
  211. },
  212. "description": "pretty decent plugin",
  213. "links": Array [
  214. "one link",
  215. ],
  216. "logos": Object {
  217. "large": "large/logo",
  218. "small": "small/logo",
  219. },
  220. "screenshots": Array [
  221. Object {
  222. "path": "screenshot/5",
  223. },
  224. ],
  225. "updated": "2018-09-26",
  226. "version": "1",
  227. },
  228. "latestVersion": "1.5",
  229. "module": Object {},
  230. "name": "pretty cool plugin-5",
  231. "pinned": false,
  232. "state": "",
  233. "type": "",
  234. }
  235. }
  236. />
  237. </ol>
  238. </section>
  239. `;