PluginList.test.tsx.snap 5.4 KB

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