1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should open the right popups when the buttons are clicked 1`] = `
9 exports[`should open the right popups when the buttons are clicked 2`] = `
11 "openPopup": "delete",
15 exports[`should open the right popups when the buttons are clicked 3`] = `
17 className="issue-comment"
20 className="issue-comment-author"
24 className="little-spacer-right"
32 className="issue-comment-text markdown"
33 dangerouslySetInnerHTML={
35 "__html": "<b>test</b>",
40 className="issue-comment-age"
43 date="2017-03-01T09:36:01+0100"
47 className="issue-comment-actions"
53 closeOnClickOutside={false}
54 onRequestClose={[Function]}
62 "authorAvatar": "gravatarhash",
63 "authorName": "John Doe",
64 "createdAt": "2017-03-01T09:36:01+0100",
65 "htmlText": "<b>test</b>",
71 onComment={[Function]}
73 placement="bottom-right"
74 toggleComment={[Function]}
79 className="js-issue-comment-edit button-small"
88 onRequestClose={[Function]}
97 className="js-issue-comment-delete button-small"
106 exports[`should render correctly a comment that is not updatable 1`] = `
108 className="issue-comment"
111 className="issue-comment-author"
115 className="little-spacer-right"
123 className="issue-comment-text markdown"
124 dangerouslySetInnerHTML={
126 "__html": "<b>test</b>",
131 className="issue-comment-age"
134 date="2017-03-01T09:36:01+0100"
138 className="issue-comment-actions"
143 exports[`should render correctly a comment that is updatable 1`] = `
145 className="issue-comment"
148 className="issue-comment-author"
152 className="little-spacer-right"
160 className="issue-comment-text markdown"
161 dangerouslySetInnerHTML={
163 "__html": "<b>test</b>",
168 className="issue-comment-age"
171 date="2017-03-01T09:36:01+0100"
175 className="issue-comment-actions"
181 closeOnClickOutside={false}
182 onRequestClose={[Function]}
188 "author": "john.doe",
189 "authorActive": true,
190 "authorAvatar": "gravatarhash",
191 "authorName": "John Doe",
192 "createdAt": "2017-03-01T09:36:01+0100",
193 "htmlText": "<b>test</b>",
194 "key": "comment-key",
195 "markdown": "*test*",
199 onComment={[Function]}
201 placement="bottom-right"
202 toggleComment={[Function]}
207 className="js-issue-comment-edit button-small"
216 onRequestClose={[Function]}
220 onDelete={[Function]}
225 className="js-issue-comment-delete button-small"
234 exports[`should render correctly a comment with a deleted author 1`] = `
236 className="issue-comment-author"
237 title="user.x_deleted.john.doe"
240 className="little-spacer-right"
245 user.x_deleted.john.doe