]> source.dussan.org Git - sonarqube.git/blob
e7347b5911f6689f6f2ee631bdccdd2dffd43306
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div
5   className="boxed-group boxed-group-inner js-profile-changelog"
6 >
7   <header
8     className="spacer-bottom"
9   >
10     <ChangelogSearch
11       dateRange={
12         {
13           "from": undefined,
14           "to": undefined,
15         }
16       }
17       onDateRangeChange={[Function]}
18       onReset={[Function]}
19     />
20   </header>
21   <Changelog
22     events={
23       [
24         {
25           "action": "ACTIVATED",
26           "date": "2019-04-23T02:12:32+0100",
27           "params": {
28             "severity": "MAJOR",
29           },
30           "ruleKey": "rule-key",
31           "ruleName": "rule-name",
32         },
33         {
34           "action": "ACTIVATED",
35           "date": "2019-04-23T02:12:32+0100",
36           "params": {
37             "severity": "MAJOR",
38           },
39           "ruleKey": "rule-key",
40           "ruleName": "rule-name",
41         },
42         {
43           "action": "ACTIVATED",
44           "date": "2019-04-23T02:12:32+0100",
45           "params": {
46             "severity": "MAJOR",
47           },
48           "ruleKey": "rule-key",
49           "ruleName": "rule-name",
50         },
51       ]
52     }
53   />
54   <footer
55     className="text-center spacer-top small"
56   >
57     <a
58       href="#"
59       onClick={[Function]}
60     >
61       show_more
62     </a>
63   </footer>
64 </div>
65 `;
66
67 exports[`should render correctly without events 1`] = `
68 <div
69   className="boxed-group boxed-group-inner js-profile-changelog"
70 >
71   <header
72     className="spacer-bottom"
73   >
74     <ChangelogSearch
75       dateRange={
76         {
77           "from": undefined,
78           "to": undefined,
79         }
80       }
81       onDateRangeChange={[Function]}
82       onReset={[Function]}
83     />
84   </header>
85   <ChangelogEmpty />
86 </div>
87 `;