DetailsTable.test.js.snap 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`DetailsTable component Should render correctly 1`] = `
  3. <Memo(DetailsTable)
  4. details={
  5. Object {
  6. "attribution": "",
  7. "category": "Science & Technology",
  8. "explicit": "yes",
  9. "first released": "2019-02-27",
  10. "language": "English",
  11. "license": "Original content",
  12. }
  13. }
  14. >
  15. <table
  16. css={
  17. Object {
  18. "map": undefined,
  19. "name": "1eb017w",
  20. "next": undefined,
  21. "styles": "
  22. text-align: left;
  23. border-collapse: separate;
  24. border-spacing: 0;
  25. text-transform: capitalize;
  26. ",
  27. "toString": [Function],
  28. }
  29. }
  30. >
  31. <tbody>
  32. <tr
  33. css={
  34. Object {
  35. "map": undefined,
  36. "name": "oc1vdi",
  37. "next": undefined,
  38. "styles": "
  39. td {
  40. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  41. }
  42. ",
  43. "toString": [Function],
  44. }
  45. }
  46. key="explicit"
  47. >
  48. <td
  49. css={
  50. Object {
  51. "map": undefined,
  52. "name": "uva6ry",
  53. "next": undefined,
  54. "styles": "
  55. font-weight: 700;
  56. padding: 0.5rem 0.75rem;
  57. width: 25%;
  58. color: #999;
  59. ",
  60. "toString": [Function],
  61. }
  62. }
  63. >
  64. explicit
  65. </td>
  66. <td
  67. css={
  68. Object {
  69. "map": undefined,
  70. "name": "naho03",
  71. "next": undefined,
  72. "styles": "
  73. padding: 0.5rem 0.75rem;
  74. ",
  75. "toString": [Function],
  76. }
  77. }
  78. >
  79. yes
  80. </td>
  81. </tr>
  82. <tr
  83. css={
  84. Object {
  85. "map": undefined,
  86. "name": "oc1vdi",
  87. "next": undefined,
  88. "styles": "
  89. td {
  90. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  91. }
  92. ",
  93. "toString": [Function],
  94. }
  95. }
  96. key="first released"
  97. >
  98. <td
  99. css={
  100. Object {
  101. "map": undefined,
  102. "name": "uva6ry",
  103. "next": undefined,
  104. "styles": "
  105. font-weight: 700;
  106. padding: 0.5rem 0.75rem;
  107. width: 25%;
  108. color: #999;
  109. ",
  110. "toString": [Function],
  111. }
  112. }
  113. >
  114. first released
  115. </td>
  116. <td
  117. css={
  118. Object {
  119. "map": undefined,
  120. "name": "naho03",
  121. "next": undefined,
  122. "styles": "
  123. padding: 0.5rem 0.75rem;
  124. ",
  125. "toString": [Function],
  126. }
  127. }
  128. >
  129. 2019-02-27
  130. </td>
  131. </tr>
  132. <tr
  133. css={
  134. Object {
  135. "map": undefined,
  136. "name": "oc1vdi",
  137. "next": undefined,
  138. "styles": "
  139. td {
  140. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  141. }
  142. ",
  143. "toString": [Function],
  144. }
  145. }
  146. key="language"
  147. >
  148. <td
  149. css={
  150. Object {
  151. "map": undefined,
  152. "name": "uva6ry",
  153. "next": undefined,
  154. "styles": "
  155. font-weight: 700;
  156. padding: 0.5rem 0.75rem;
  157. width: 25%;
  158. color: #999;
  159. ",
  160. "toString": [Function],
  161. }
  162. }
  163. >
  164. language
  165. </td>
  166. <td
  167. css={
  168. Object {
  169. "map": undefined,
  170. "name": "naho03",
  171. "next": undefined,
  172. "styles": "
  173. padding: 0.5rem 0.75rem;
  174. ",
  175. "toString": [Function],
  176. }
  177. }
  178. >
  179. English
  180. </td>
  181. </tr>
  182. <tr
  183. css={
  184. Object {
  185. "map": undefined,
  186. "name": "oc1vdi",
  187. "next": undefined,
  188. "styles": "
  189. td {
  190. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  191. }
  192. ",
  193. "toString": [Function],
  194. }
  195. }
  196. key="category"
  197. >
  198. <td
  199. css={
  200. Object {
  201. "map": undefined,
  202. "name": "uva6ry",
  203. "next": undefined,
  204. "styles": "
  205. font-weight: 700;
  206. padding: 0.5rem 0.75rem;
  207. width: 25%;
  208. color: #999;
  209. ",
  210. "toString": [Function],
  211. }
  212. }
  213. >
  214. category
  215. </td>
  216. <td
  217. css={
  218. Object {
  219. "map": undefined,
  220. "name": "naho03",
  221. "next": undefined,
  222. "styles": "
  223. padding: 0.5rem 0.75rem;
  224. ",
  225. "toString": [Function],
  226. }
  227. }
  228. >
  229. Science & Technology
  230. </td>
  231. </tr>
  232. <tr
  233. css={
  234. Object {
  235. "map": undefined,
  236. "name": "oc1vdi",
  237. "next": undefined,
  238. "styles": "
  239. td {
  240. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  241. }
  242. ",
  243. "toString": [Function],
  244. }
  245. }
  246. key="license"
  247. >
  248. <td
  249. css={
  250. Object {
  251. "map": undefined,
  252. "name": "uva6ry",
  253. "next": undefined,
  254. "styles": "
  255. font-weight: 700;
  256. padding: 0.5rem 0.75rem;
  257. width: 25%;
  258. color: #999;
  259. ",
  260. "toString": [Function],
  261. }
  262. }
  263. >
  264. license
  265. </td>
  266. <td
  267. css={
  268. Object {
  269. "map": undefined,
  270. "name": "naho03",
  271. "next": undefined,
  272. "styles": "
  273. padding: 0.5rem 0.75rem;
  274. ",
  275. "toString": [Function],
  276. }
  277. }
  278. >
  279. Original content
  280. </td>
  281. </tr>
  282. <tr
  283. css={
  284. Object {
  285. "map": undefined,
  286. "name": "oc1vdi",
  287. "next": undefined,
  288. "styles": "
  289. td {
  290. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  291. }
  292. ",
  293. "toString": [Function],
  294. }
  295. }
  296. key="attribution"
  297. >
  298. <td
  299. css={
  300. Object {
  301. "map": undefined,
  302. "name": "uva6ry",
  303. "next": undefined,
  304. "styles": "
  305. font-weight: 700;
  306. padding: 0.5rem 0.75rem;
  307. width: 25%;
  308. color: #999;
  309. ",
  310. "toString": [Function],
  311. }
  312. }
  313. >
  314. attribution
  315. </td>
  316. <td
  317. css={
  318. Object {
  319. "map": undefined,
  320. "name": "naho03",
  321. "next": undefined,
  322. "styles": "
  323. padding: 0.5rem 0.75rem;
  324. ",
  325. "toString": [Function],
  326. }
  327. }
  328. />
  329. </tr>
  330. </tbody>
  331. </table>
  332. </Memo(DetailsTable)>
  333. `;