InviteesTable.test.tsx.snap 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Render should render component 1`] = `
  3. <table
  4. className="filter-table form-inline"
  5. >
  6. <thead>
  7. <tr>
  8. <th>
  9. Email
  10. </th>
  11. <th>
  12. Name
  13. </th>
  14. <th />
  15. <th
  16. style={
  17. Object {
  18. "width": "34px",
  19. }
  20. }
  21. />
  22. </tr>
  23. </thead>
  24. <tbody />
  25. </table>
  26. `;
  27. exports[`Render should render invitees 1`] = `
  28. <table
  29. className="filter-table form-inline"
  30. >
  31. <thead>
  32. <tr>
  33. <th>
  34. Email
  35. </th>
  36. <th>
  37. Name
  38. </th>
  39. <th />
  40. <th
  41. style={
  42. Object {
  43. "width": "34px",
  44. }
  45. }
  46. />
  47. </tr>
  48. </thead>
  49. <tbody>
  50. <tr
  51. key="0-0"
  52. >
  53. <td>
  54. invitee-0@test.com
  55. </td>
  56. <td>
  57. invitee-0
  58. </td>
  59. <td
  60. className="text-right"
  61. >
  62. <button
  63. className="btn btn-inverse btn-mini"
  64. onClick={[Function]}
  65. >
  66. <textarea
  67. readOnly={true}
  68. style={
  69. Object {
  70. "position": "absolute",
  71. "right": -1000,
  72. }
  73. }
  74. value="localhost/invite/$0"
  75. />
  76. <i
  77. className="fa fa-clipboard"
  78. />
  79. Copy Invite
  80. </button>
  81.  
  82. </td>
  83. <td>
  84. <button
  85. className="btn btn-danger btn-mini"
  86. onClick={[Function]}
  87. >
  88. <i
  89. className="fa fa-remove"
  90. />
  91. </button>
  92. </td>
  93. </tr>
  94. <tr
  95. key="1-1"
  96. >
  97. <td>
  98. invitee-1@test.com
  99. </td>
  100. <td>
  101. invitee-1
  102. </td>
  103. <td
  104. className="text-right"
  105. >
  106. <button
  107. className="btn btn-inverse btn-mini"
  108. onClick={[Function]}
  109. >
  110. <textarea
  111. readOnly={true}
  112. style={
  113. Object {
  114. "position": "absolute",
  115. "right": -1000,
  116. }
  117. }
  118. value="localhost/invite/$1"
  119. />
  120. <i
  121. className="fa fa-clipboard"
  122. />
  123. Copy Invite
  124. </button>
  125.  
  126. </td>
  127. <td>
  128. <button
  129. className="btn btn-danger btn-mini"
  130. onClick={[Function]}
  131. >
  132. <i
  133. className="fa fa-remove"
  134. />
  135. </button>
  136. </td>
  137. </tr>
  138. <tr
  139. key="2-2"
  140. >
  141. <td>
  142. invitee-2@test.com
  143. </td>
  144. <td>
  145. invitee-2
  146. </td>
  147. <td
  148. className="text-right"
  149. >
  150. <button
  151. className="btn btn-inverse btn-mini"
  152. onClick={[Function]}
  153. >
  154. <textarea
  155. readOnly={true}
  156. style={
  157. Object {
  158. "position": "absolute",
  159. "right": -1000,
  160. }
  161. }
  162. value="localhost/invite/$2"
  163. />
  164. <i
  165. className="fa fa-clipboard"
  166. />
  167. Copy Invite
  168. </button>
  169.  
  170. </td>
  171. <td>
  172. <button
  173. className="btn btn-danger btn-mini"
  174. onClick={[Function]}
  175. >
  176. <i
  177. className="fa fa-remove"
  178. />
  179. </button>
  180. </td>
  181. </tr>
  182. <tr
  183. key="3-3"
  184. >
  185. <td>
  186. invitee-3@test.com
  187. </td>
  188. <td>
  189. invitee-3
  190. </td>
  191. <td
  192. className="text-right"
  193. >
  194. <button
  195. className="btn btn-inverse btn-mini"
  196. onClick={[Function]}
  197. >
  198. <textarea
  199. readOnly={true}
  200. style={
  201. Object {
  202. "position": "absolute",
  203. "right": -1000,
  204. }
  205. }
  206. value="localhost/invite/$3"
  207. />
  208. <i
  209. className="fa fa-clipboard"
  210. />
  211. Copy Invite
  212. </button>
  213.  
  214. </td>
  215. <td>
  216. <button
  217. className="btn btn-danger btn-mini"
  218. onClick={[Function]}
  219. >
  220. <i
  221. className="fa fa-remove"
  222. />
  223. </button>
  224. </td>
  225. </tr>
  226. <tr
  227. key="4-4"
  228. >
  229. <td>
  230. invitee-4@test.com
  231. </td>
  232. <td>
  233. invitee-4
  234. </td>
  235. <td
  236. className="text-right"
  237. >
  238. <button
  239. className="btn btn-inverse btn-mini"
  240. onClick={[Function]}
  241. >
  242. <textarea
  243. readOnly={true}
  244. style={
  245. Object {
  246. "position": "absolute",
  247. "right": -1000,
  248. }
  249. }
  250. value="localhost/invite/$4"
  251. />
  252. <i
  253. className="fa fa-clipboard"
  254. />
  255. Copy Invite
  256. </button>
  257.  
  258. </td>
  259. <td>
  260. <button
  261. className="btn btn-danger btn-mini"
  262. onClick={[Function]}
  263. >
  264. <i
  265. className="fa fa-remove"
  266. />
  267. </button>
  268. </td>
  269. </tr>
  270. <tr
  271. key="5-5"
  272. >
  273. <td>
  274. invitee-5@test.com
  275. </td>
  276. <td>
  277. invitee-5
  278. </td>
  279. <td
  280. className="text-right"
  281. >
  282. <button
  283. className="btn btn-inverse btn-mini"
  284. onClick={[Function]}
  285. >
  286. <textarea
  287. readOnly={true}
  288. style={
  289. Object {
  290. "position": "absolute",
  291. "right": -1000,
  292. }
  293. }
  294. value="localhost/invite/$5"
  295. />
  296. <i
  297. className="fa fa-clipboard"
  298. />
  299. Copy Invite
  300. </button>
  301.  
  302. </td>
  303. <td>
  304. <button
  305. className="btn btn-danger btn-mini"
  306. onClick={[Function]}
  307. >
  308. <i
  309. className="fa fa-remove"
  310. />
  311. </button>
  312. </td>
  313. </tr>
  314. </tbody>
  315. </table>
  316. `;