]> source.dussan.org Git - sonarqube.git/blob
8e1f9850fc8e84b1965a553d665d7759a8749e17
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should open the popup when the button is clicked 1`] = `
4 Array [
5   Array [
6     "changelog",
7     undefined,
8   ],
9 ]
10 `;
11
12 exports[`should open the popup when the button is clicked 2`] = `
13 <BubblePopupHelper
14   isOpen={true}
15   popup={
16     <ChangelogPopup
17       issue={
18         Object {
19           "author": "john.david.dalton@gmail.com",
20           "creationDate": "2017-03-01T09:36:01+0100",
21           "key": "issuekey",
22         }
23       }
24       onFail={[Function]}
25     />
26   }
27   position="bottomright"
28   togglePopup={[Function]}
29 >
30   <button
31     className="button-link issue-action issue-action-with-options js-issue-show-changelog"
32     onClick={[Function]}
33     title="March 1, 2017 9:36 AM"
34   >
35     <span
36       className="issue-meta-label"
37     >
38       a month ago
39     </span>
40     <i
41       className="icon-dropdown little-spacer-left"
42     />
43   </button>
44 </BubblePopupHelper>
45 `;
46
47 exports[`should render correctly 1`] = `
48 <BubblePopupHelper
49   isOpen={false}
50   popup={
51     <ChangelogPopup
52       issue={
53         Object {
54           "author": "john.david.dalton@gmail.com",
55           "creationDate": "2017-03-01T09:36:01+0100",
56           "key": "issuekey",
57         }
58       }
59       onFail={[Function]}
60     />
61   }
62   position="bottomright"
63   togglePopup={[Function]}
64 >
65   <button
66     className="button-link issue-action issue-action-with-options js-issue-show-changelog"
67     onClick={[Function]}
68     title="March 1, 2017 9:36 AM"
69   >
70     <span
71       className="issue-meta-label"
72     >
73       a month ago
74     </span>
75     <i
76       className="icon-dropdown little-spacer-left"
77     />
78   </button>
79 </BubblePopupHelper>
80 `;