streamGroup.spec.jsx.snap 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`StreamGroup renders with anchors 1`] = `
  3. <Group
  4. align="center"
  5. onClick={[Function]}
  6. px={0}
  7. py={1}
  8. >
  9. <GroupCheckbox
  10. ml={2}
  11. >
  12. <GuideAnchor
  13. target="issues"
  14. type="text"
  15. />
  16. <GroupCheckBox
  17. id="1337"
  18. />
  19. </GroupCheckbox>
  20. <GroupSummary
  21. flex="1"
  22. ml={1}
  23. mr={1}
  24. w={
  25. Array [
  26. 0.6666666666666666,
  27. 0.6666666666666666,
  28. 0.5,
  29. ]
  30. }
  31. >
  32. <withRouter(EventOrGroupHeader)
  33. data={
  34. Object {
  35. "assignedTo": null,
  36. "id": "1337",
  37. "project": Object {
  38. "id": "13",
  39. "slug": "test",
  40. },
  41. "stats": Object {
  42. "24h": Array [
  43. Array [
  44. 1517281200,
  45. 2,
  46. ],
  47. Array [
  48. 1517310000,
  49. 1,
  50. ],
  51. ],
  52. "30d": Array [
  53. Array [
  54. 1514764800,
  55. 1,
  56. ],
  57. Array [
  58. 1515024000,
  59. 122,
  60. ],
  61. ],
  62. },
  63. "tags": Array [],
  64. "type": "error",
  65. }
  66. }
  67. />
  68. <withRouter(EventOrGroupExtraDetails)
  69. assignedTo={null}
  70. id="1337"
  71. project={
  72. Object {
  73. "id": "13",
  74. "slug": "test",
  75. }
  76. }
  77. stats={
  78. Object {
  79. "24h": Array [
  80. Array [
  81. 1517281200,
  82. 2,
  83. ],
  84. Array [
  85. 1517310000,
  86. 1,
  87. ],
  88. ],
  89. "30d": Array [
  90. Array [
  91. 1514764800,
  92. 1,
  93. ],
  94. Array [
  95. 1515024000,
  96. 122,
  97. ],
  98. ],
  99. }
  100. }
  101. tags={Array []}
  102. type="error"
  103. />
  104. </GroupSummary>
  105. <Box
  106. className="hidden-xs hidden-sm"
  107. mx={2}
  108. w={160}
  109. >
  110. <GroupChart
  111. data={
  112. Object {
  113. "assignedTo": null,
  114. "id": "1337",
  115. "project": Object {
  116. "id": "13",
  117. "slug": "test",
  118. },
  119. "stats": Object {
  120. "24h": Array [
  121. Array [
  122. 1517281200,
  123. 2,
  124. ],
  125. Array [
  126. 1517310000,
  127. 1,
  128. ],
  129. ],
  130. "30d": Array [
  131. Array [
  132. 1514764800,
  133. 1,
  134. ],
  135. Array [
  136. 1515024000,
  137. 122,
  138. ],
  139. ],
  140. },
  141. "tags": Array [],
  142. "type": "error",
  143. }
  144. }
  145. id="1337"
  146. statsPeriod="24h"
  147. />
  148. </Box>
  149. <Flex
  150. justify="flex-end"
  151. mx={2}
  152. w={
  153. Array [
  154. 40,
  155. 60,
  156. 80,
  157. 80,
  158. ]
  159. }
  160. >
  161. <GuideAnchor
  162. target="events"
  163. type="text"
  164. />
  165. <StyledCount />
  166. </Flex>
  167. <Flex
  168. justify="flex-end"
  169. mx={2}
  170. w={
  171. Array [
  172. 40,
  173. 60,
  174. 80,
  175. 80,
  176. ]
  177. }
  178. >
  179. <GuideAnchor
  180. target="users"
  181. type="text"
  182. />
  183. <StyledCount />
  184. </Flex>
  185. <Box
  186. className="hidden-xs hidden-sm"
  187. mx={2}
  188. w={80}
  189. >
  190. <AssigneeSelector
  191. id="1337"
  192. />
  193. </Box>
  194. </Group>
  195. `;