resolutionBox.spec.jsx.snap 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`ResolutionBox render() handles default 1`] = `
  3. <div
  4. className="box"
  5. style={
  6. Object {
  7. "alignItems": "center",
  8. "display": "flex",
  9. "flex": 1,
  10. "paddingBottom": 15,
  11. }
  12. }
  13. >
  14. <span
  15. className="icon icon-checkmark"
  16. style={
  17. Object {
  18. "position": "static",
  19. "top": 0,
  20. }
  21. }
  22. />
  23. <p
  24. className="truncate break-all"
  25. style={
  26. Object {
  27. "paddingBottom": 0,
  28. "paddingLeft": 16,
  29. }
  30. }
  31. >
  32. This issue has been marked as resolved.
  33. </p>
  34. </div>
  35. `;
  36. exports[`ResolutionBox render() handles inCommit 1`] = `
  37. <div
  38. className="box"
  39. style={
  40. Object {
  41. "alignItems": "center",
  42. "display": "flex",
  43. "flex": 1,
  44. "paddingBottom": 15,
  45. }
  46. }
  47. >
  48. <span
  49. className="icon icon-checkmark"
  50. style={
  51. Object {
  52. "position": "static",
  53. "top": 0,
  54. }
  55. }
  56. />
  57. <p
  58. className="truncate break-all"
  59. style={
  60. Object {
  61. "paddingBottom": 0,
  62. "paddingLeft": 16,
  63. }
  64. }
  65. >
  66. <span
  67. key="3"
  68. >
  69. <span
  70. key="0"
  71. >
  72. This issue has been marked as resolved by
  73. </span>
  74. <CommitLink
  75. commitId="f7f395d14b2fe29a4e253bf1d3094d61e6ad4434"
  76. repository={
  77. Object {
  78. "externalSlug": "example/repo-name",
  79. "id": "4",
  80. "name": "example/repo-name",
  81. "provider": "github",
  82. "status": "active",
  83. "url": "https://github.com/example/repo-name",
  84. }
  85. }
  86. />
  87. <StyledTimeSince
  88. date="2018-11-30T18:46:31Z"
  89. suffix="ago"
  90. />
  91. </span>
  92. </p>
  93. </div>
  94. `;
  95. exports[`ResolutionBox render() handles inNextRelease 1`] = `
  96. <div
  97. className="box"
  98. style={
  99. Object {
  100. "alignItems": "center",
  101. "display": "flex",
  102. "flex": 1,
  103. "paddingBottom": 15,
  104. }
  105. }
  106. >
  107. <span
  108. className="icon icon-checkmark"
  109. style={
  110. Object {
  111. "position": "static",
  112. "top": 0,
  113. }
  114. }
  115. />
  116. <p
  117. className="truncate break-all"
  118. style={
  119. Object {
  120. "paddingBottom": 0,
  121. "paddingLeft": 16,
  122. }
  123. }
  124. >
  125. This issue has been marked as resolved in the upcoming release.
  126. </p>
  127. </div>
  128. `;
  129. exports[`ResolutionBox render() handles inNextRelease with actor 1`] = `
  130. <div
  131. className="box"
  132. style={
  133. Object {
  134. "alignItems": "center",
  135. "display": "flex",
  136. "flex": 1,
  137. "paddingBottom": 15,
  138. }
  139. }
  140. >
  141. <span
  142. className="icon icon-checkmark"
  143. style={
  144. Object {
  145. "position": "static",
  146. "top": 0,
  147. }
  148. }
  149. />
  150. <p
  151. className="truncate break-all"
  152. style={
  153. Object {
  154. "paddingBottom": 0,
  155. "paddingLeft": 16,
  156. }
  157. }
  158. >
  159. <span
  160. key="3"
  161. >
  162. <strong
  163. key="0"
  164. >
  165. <Avatar
  166. className="avatar"
  167. hasTooltip={false}
  168. size={20}
  169. user={
  170. Object {
  171. "email": "david@sentry.io",
  172. "id": "111",
  173. "name": "David Cramer",
  174. }
  175. }
  176. />
  177. <span
  178. style={
  179. Object {
  180. "marginLeft": 5,
  181. }
  182. }
  183. >
  184. David Cramer
  185. </span>
  186. </strong>
  187. <span
  188. key="1"
  189. >
  190. marked this issue as resolved in the upcoming release.
  191. </span>
  192. </span>
  193. </p>
  194. </div>
  195. `;
  196. exports[`ResolutionBox render() handles inRelease 1`] = `
  197. <div
  198. className="box"
  199. style={
  200. Object {
  201. "alignItems": "center",
  202. "display": "flex",
  203. "flex": 1,
  204. "paddingBottom": 15,
  205. }
  206. }
  207. >
  208. <span
  209. className="icon icon-checkmark"
  210. style={
  211. Object {
  212. "position": "static",
  213. "top": 0,
  214. }
  215. }
  216. />
  217. <p
  218. className="truncate break-all"
  219. style={
  220. Object {
  221. "paddingBottom": 0,
  222. "paddingLeft": 16,
  223. }
  224. }
  225. >
  226. <span
  227. key="4"
  228. >
  229. <span
  230. key="0"
  231. >
  232. This issue has been marked as resolved in version
  233. </span>
  234. <WithOrganizationMockWrapper
  235. key="1"
  236. orgId="org"
  237. projectId="project"
  238. version="1.0"
  239. />
  240. <span
  241. key="2"
  242. >
  243. .
  244. </span>
  245. </span>
  246. </p>
  247. </div>
  248. `;
  249. exports[`ResolutionBox render() handles inRelease with actor 1`] = `
  250. <div
  251. className="box"
  252. style={
  253. Object {
  254. "alignItems": "center",
  255. "display": "flex",
  256. "flex": 1,
  257. "paddingBottom": 15,
  258. }
  259. }
  260. >
  261. <span
  262. className="icon icon-checkmark"
  263. style={
  264. Object {
  265. "position": "static",
  266. "top": 0,
  267. }
  268. }
  269. />
  270. <p
  271. className="truncate break-all"
  272. style={
  273. Object {
  274. "paddingBottom": 0,
  275. "paddingLeft": 16,
  276. }
  277. }
  278. >
  279. <span
  280. key="5"
  281. >
  282. <strong
  283. key="0"
  284. >
  285. <Avatar
  286. className="avatar"
  287. hasTooltip={false}
  288. size={20}
  289. user={
  290. Object {
  291. "email": "david@sentry.io",
  292. "id": "111",
  293. "name": "David Cramer",
  294. }
  295. }
  296. />
  297. <span
  298. style={
  299. Object {
  300. "marginLeft": 5,
  301. }
  302. }
  303. >
  304. David Cramer
  305. </span>
  306. </strong>
  307. <span
  308. key="1"
  309. >
  310. marked this issue as resolved in version
  311. </span>
  312. <WithOrganizationMockWrapper
  313. key="2"
  314. orgId="org"
  315. projectId="project"
  316. version="1.0"
  317. />
  318. <span
  319. key="3"
  320. >
  321. .
  322. </span>
  323. </span>
  324. </p>
  325. </div>
  326. `;