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"
23 <withAppStateContext(Avatar)
24 className="little-spacer-right"
32 className="issue-comment-text markdown"
33 dangerouslySetInnerHTML={
35 "__html": "<b>test</b>",
40 className="issue-comment-age"
43 className="a11y-hidden"
45 issue.comment.posted_on
48 date="2017-03-01T09:36:01+0100"
52 className="issue-comment-actions"
58 closeOnClickOutside={false}
59 onRequestClose={[Function]}
67 "authorAvatar": "gravatarhash",
68 "authorName": "John Doe",
69 "createdAt": "2017-03-01T09:36:01+0100",
70 "htmlText": "<b>test</b>",
76 onComment={[Function]}
78 placement="bottom-right"
79 toggleComment={[Function]}
84 aria-label="issue.comment.edit"
85 className="js-issue-comment-edit button-small"
94 onRequestClose={[Function]}
103 aria-label="issue.comment.delete"
104 className="js-issue-comment-delete button-small"
113 exports[`should render correctly a comment that is not updatable 1`] = `
115 className="issue-comment"
118 className="issue-comment-author"
121 <withAppStateContext(Avatar)
122 className="little-spacer-right"
130 className="issue-comment-text markdown"
131 dangerouslySetInnerHTML={
133 "__html": "<b>test</b>",
138 className="issue-comment-age"
141 className="a11y-hidden"
143 issue.comment.posted_on
146 date="2017-03-01T09:36:01+0100"
150 className="issue-comment-actions"
155 exports[`should render correctly a comment that is updatable 1`] = `
157 className="issue-comment"
160 className="issue-comment-author"
163 <withAppStateContext(Avatar)
164 className="little-spacer-right"
172 className="issue-comment-text markdown"
173 dangerouslySetInnerHTML={
175 "__html": "<b>test</b>",
180 className="issue-comment-age"
183 className="a11y-hidden"
185 issue.comment.posted_on
188 date="2017-03-01T09:36:01+0100"
192 className="issue-comment-actions"
198 closeOnClickOutside={false}
199 onRequestClose={[Function]}
205 "author": "john.doe",
206 "authorActive": true,
207 "authorAvatar": "gravatarhash",
208 "authorName": "John Doe",
209 "createdAt": "2017-03-01T09:36:01+0100",
210 "htmlText": "<b>test</b>",
211 "key": "comment-key",
212 "markdown": "*test*",
216 onComment={[Function]}
218 placement="bottom-right"
219 toggleComment={[Function]}
224 aria-label="issue.comment.edit"
225 className="js-issue-comment-edit button-small"
234 onRequestClose={[Function]}
238 onDelete={[Function]}
243 aria-label="issue.comment.delete"
244 className="js-issue-comment-delete button-small"
253 exports[`should render correctly a comment with a deleted author 1`] = `
255 className="issue-comment-author"
256 title="user.x_deleted.john.doe"
258 <withAppStateContext(Avatar)
259 className="little-spacer-right"
264 user.x_deleted.john.doe