]> source.dussan.org Git - sonarqube.git/blob
0ee3134b1314c949fa91b1eef7a2341208376935
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render 1`] = `
4 <div
5   className="project-activity-event-inner"
6 >
7   <div
8     className="project-activity-event-inner-main"
9   >
10     <ProjectEventIcon
11       className="project-activity-event-icon little-spacer-right QUALITY_GATE"
12     />
13     <div
14       className="project-activity-event-inner-text flex-1"
15     >
16       <span
17         className="note little-spacer-right"
18       >
19         event.category.QUALITY_GATE
20         :
21       </span>
22       <FormattedMessage
23         defaultMessage="event.quality_gate.still_x"
24         id="event.quality_gate.still_x"
25         values={
26           Object {
27             "status": <Level
28               level="ERROR"
29               small={true}
30             />,
31           }
32         }
33       />
34     </div>
35     <ResetButtonLink
36       className="project-activity-event-inner-more-link"
37       onClick={[Function]}
38       stopPropagation={true}
39     >
40       more
41       <DropdownIcon
42         className="little-spacer-left"
43         turned={false}
44       />
45     </ResetButtonLink>
46   </div>
47 </div>
48 `;
49
50 exports[`should render 2`] = `
51 <div
52   className="project-activity-event-inner"
53 >
54   <div
55     className="project-activity-event-inner-main"
56   >
57     <ProjectEventIcon
58       className="project-activity-event-icon little-spacer-right QUALITY_GATE"
59     />
60     <div
61       className="project-activity-event-inner-text flex-1"
62     >
63       <span
64         className="note little-spacer-right"
65       >
66         event.category.QUALITY_GATE
67         :
68       </span>
69       <FormattedMessage
70         defaultMessage="event.quality_gate.still_x"
71         id="event.quality_gate.still_x"
72         values={
73           Object {
74             "status": <Level
75               level="ERROR"
76               small={true}
77             />,
78           }
79         }
80       />
81     </div>
82     <ResetButtonLink
83       className="project-activity-event-inner-more-link"
84       onClick={[Function]}
85       stopPropagation={true}
86     >
87       hide
88       <DropdownIcon
89         className="little-spacer-left"
90         turned={true}
91       />
92     </ResetButtonLink>
93   </div>
94   <ul
95     className="project-activity-event-inner-more-content"
96   >
97     <li
98       className="display-flex-center little-spacer-top"
99       key="foo"
100     >
101       <Level
102         className="little-spacer-right"
103         level="ERROR"
104         small={true}
105       />
106       <div
107         className="flex-1 text-ellipsis"
108       >
109         <Link
110           onClick={[Function]}
111           onlyActiveOnIndex={false}
112           style={Object {}}
113           title="Foo"
114           to={
115             Object {
116               "pathname": "/dashboard",
117               "query": Object {
118                 "branch": "master",
119                 "id": "foo",
120               },
121             }
122           }
123         >
124           Foo
125         </Link>
126       </div>
127     </li>
128     <li
129       className="display-flex-center little-spacer-top"
130       key="bar"
131     >
132       <Level
133         className="little-spacer-right"
134         level="ERROR"
135         small={true}
136       />
137       <div
138         className="flex-1 text-ellipsis"
139       >
140         <Link
141           onClick={[Function]}
142           onlyActiveOnIndex={false}
143           style={Object {}}
144           title="Bar"
145           to={
146             Object {
147               "pathname": "/dashboard",
148               "query": Object {
149                 "branch": "master",
150                 "id": "bar",
151               },
152             }
153           }
154         >
155           Bar
156         </Link>
157       </div>
158     </li>
159   </ul>
160 </div>
161 `;