]> source.dussan.org Git - sonarqube.git/blob
a42e82c92c5a14a5d130cd3fb309001cf9d03da1
[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     <DeferredSpinner
21       className="spacer-left"
22       loading={false}
23     />
24   </header>
25   <Changelog
26     events={
27       [
28         {
29           "action": "ACTIVATED",
30           "date": "2019-04-23T02:12:32+0100",
31           "params": {
32             "severity": "MAJOR",
33           },
34           "ruleKey": "rule-key",
35           "ruleName": "rule-name",
36         },
37         {
38           "action": "ACTIVATED",
39           "date": "2019-04-23T02:12:32+0100",
40           "params": {
41             "severity": "MAJOR",
42           },
43           "ruleKey": "rule-key",
44           "ruleName": "rule-name",
45         },
46         {
47           "action": "ACTIVATED",
48           "date": "2019-04-23T02:12:32+0100",
49           "params": {
50             "severity": "MAJOR",
51           },
52           "ruleKey": "rule-key",
53           "ruleName": "rule-name",
54         },
55       ]
56     }
57   />
58   <footer
59     className="text-center spacer-top small"
60   >
61     <a
62       href="#"
63       onClick={[Function]}
64     >
65       show_more
66     </a>
67   </footer>
68 </div>
69 `;
70
71 exports[`should render correctly without events 1`] = `
72 <div
73   className="boxed-group boxed-group-inner js-profile-changelog"
74 >
75   <header
76     className="spacer-bottom"
77   >
78     <ChangelogSearch
79       dateRange={
80         {
81           "from": undefined,
82           "to": undefined,
83         }
84       }
85       onDateRangeChange={[Function]}
86       onReset={[Function]}
87     />
88     <DeferredSpinner
89       className="spacer-left"
90       loading={false}
91     />
92   </header>
93   <ChangelogEmpty />
94 </div>
95 `;