]> source.dussan.org Git - sonarqube.git/blob
193e141b151e42258d48630d133ec8573ea32f36
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Fragment>
5   <div
6     className="padded"
7     key="0"
8   >
9     <div
10       className="display-flex-center"
11     >
12       <Connect(Avatar)
13         className="little-spacer-right"
14         name="John Doe"
15         size={20}
16       />
17       <strong>
18         John Doe
19       </strong>
20       <span
21         className="little-spacer-left"
22       >
23         hotspots.review_history.created
24       </span>
25       <span
26         className="little-spacer-left little-spacer-right"
27       >
28         -
29       </span>
30       <DateTimeFormatter
31         date="2018-09-01"
32       />
33     </div>
34   </div>
35   <div
36     className="padded bordered-top"
37     key="1"
38   >
39     <div
40       className="display-flex-center"
41     >
42       <Connect(Avatar)
43         className="little-spacer-right"
44         name="John Doe"
45         size={20}
46       />
47       <strong>
48         John Doe
49       </strong>
50       <span
51         className="little-spacer-left"
52       >
53         hotspots.review_history.comment_added
54       </span>
55       <span
56         className="little-spacer-left little-spacer-right"
57       >
58         -
59       </span>
60       <DateTimeFormatter
61         date="2018-09-10"
62       />
63     </div>
64     <div
65       className="spacer-top display-flex-space-between"
66     >
67       <div
68         className="markdown"
69         dangerouslySetInnerHTML={
70           Object {
71             "__html": "<strong>TEST</strong>",
72           }
73         }
74       />
75       <div>
76         <div
77           className="dropdown"
78         >
79           <Toggler
80             onRequestClose={[Function]}
81             open={false}
82             overlay={
83               <DropdownOverlay
84                 placement="bottom-right"
85               >
86                 <HotspotCommentPopup
87                   markdownComment="*TEST*"
88                   onCancelEdit={[Function]}
89                   onCommentEditSubmit={[Function]}
90                 />
91               </DropdownOverlay>
92             }
93           >
94             <EditButton
95               className="it__hotspots-comment-edit button-small"
96               onClick={[Function]}
97             />
98           </Toggler>
99         </div>
100         <Dropdown
101           onOpen={[Function]}
102           overlay={
103             <div
104               className="padded abs-width-150"
105             >
106               <p>
107                 issue.comment.delete_confirm_message
108               </p>
109               <Button
110                 className="button-red big-spacer-top pull-right"
111                 onClick={[Function]}
112               >
113                 delete
114               </Button>
115             </div>
116           }
117           overlayPlacement="bottom-right"
118         >
119           <DeleteButton
120             className="it__hotspots-comment-delete button-small"
121           />
122         </Dropdown>
123       </div>
124     </div>
125   </div>
126   <div
127     className="padded bordered-top"
128     key="2"
129   >
130     <div
131       className="display-flex-center"
132     >
133       <Connect(Avatar)
134         className="little-spacer-right"
135         name="John Doe"
136         size={20}
137       />
138       <strong>
139         John Doe
140       </strong>
141       <span
142         className="little-spacer-left"
143       >
144         hotspots.review_history.comment_added
145       </span>
146       <span
147         className="little-spacer-left little-spacer-right"
148       >
149         -
150       </span>
151       <DateTimeFormatter
152         date="2018-09-11"
153       />
154     </div>
155     <div
156       className="spacer-top display-flex-space-between"
157     >
158       <div
159         className="markdown"
160         dangerouslySetInnerHTML={
161           Object {
162             "__html": "<strong>TEST</strong>",
163           }
164         }
165       />
166     </div>
167   </div>
168   <div
169     className="padded bordered-top"
170     key="3"
171   >
172     <div
173       className="display-flex-center"
174     >
175       <Connect(Avatar)
176         className="little-spacer-right"
177         name="me-name"
178         size={20}
179       />
180       <strong>
181         me-name
182       </strong>
183       <span
184         className="little-spacer-left little-spacer-right"
185       >
186         -
187       </span>
188       <DateTimeFormatter
189         date="2018-10-01"
190       />
191     </div>
192     <div
193       className="spacer-top"
194     >
195       <IssueChangelogDiff
196         diff={
197           Object {
198             "key": "assign",
199             "newValue": "me",
200             "oldValue": "him",
201           }
202         }
203         key="0"
204       />
205     </div>
206   </div>
207 </Fragment>
208 `;