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