]> source.dussan.org Git - sonarqube.git/blob
6b9c12aa240a902f2306c0c5f83229953a952403
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly 1`] = `
4 <td>
5   <span
6     className="little-spacer-right"
7   >
8     <QualifierIcon
9       qualifier="TRK"
10     />
11   </span>
12   <ForwardRef(Link)
13     className="spacer-right"
14     to={
15       {
16         "pathname": "/dashboard",
17         "search": "?id=foo",
18       }
19     }
20   >
21     Foo
22   </ForwardRef(Link)>
23   <TaskType
24     type="REPORT"
25   />
26 </td>
27 `;
28
29 exports[`renders correctly: branch 1`] = `
30 <td>
31   <BranchIcon
32     className="little-spacer-right"
33   />
34   <ForwardRef(Link)
35     className="spacer-right"
36     to={
37       {
38         "pathname": "/dashboard",
39         "search": "?branch=feature&id=foo",
40       }
41     }
42   >
43     Foo
44     <span
45       className="text-limited text-text-top"
46       title="feature"
47     >
48       <span
49         style={
50           {
51             "marginLeft": 5,
52             "marginRight": 5,
53           }
54         }
55       >
56         /
57       </span>
58       feature
59     </span>
60   </ForwardRef(Link)>
61   <TaskType
62     type="REPORT"
63   />
64 </td>
65 `;
66
67 exports[`renders correctly: branch 2`] = `
68 <td>
69   <BranchIcon
70     className="little-spacer-right"
71   />
72   <ForwardRef(Link)
73     className="spacer-right"
74     to={
75       {
76         "pathname": "/dashboard",
77         "search": "?branch=branch-6.7&id=foo",
78       }
79     }
80   >
81     Foo
82     <span
83       className="text-limited text-text-top"
84       title="branch-6.7"
85     >
86       <span
87         style={
88           {
89             "marginLeft": 5,
90             "marginRight": 5,
91           }
92         }
93       >
94         /
95       </span>
96       branch-6.7
97     </span>
98   </ForwardRef(Link)>
99   <TaskType
100     type="REPORT"
101   />
102 </td>
103 `;
104
105 exports[`renders correctly: portfolio 1`] = `
106 <td>
107   <span
108     className="little-spacer-right"
109   >
110     <QualifierIcon
111       qualifier="VW"
112     />
113   </span>
114   <ForwardRef(Link)
115     className="spacer-right"
116     to={
117       {
118         "pathname": "/portfolio",
119         "search": "?id=foo",
120       }
121     }
122   >
123     Foo
124   </ForwardRef(Link)>
125   <TaskType
126     type="REPORT"
127   />
128 </td>
129 `;
130
131 exports[`renders correctly: pull request 1`] = `
132 <td>
133   <PullRequestIcon
134     className="little-spacer-right"
135   />
136   <ForwardRef(Link)
137     className="spacer-right"
138     to={
139       {
140         "pathname": "/dashboard",
141         "search": "?id=foo&pullRequest=pr-89",
142       }
143     }
144   >
145     Foo
146     <span
147       className="text-limited text-text-top"
148     >
149       <span
150         style={
151           {
152             "marginLeft": 5,
153             "marginRight": 5,
154           }
155         }
156       >
157         /
158       </span>
159       pr-89
160     </span>
161   </ForwardRef(Link)>
162   <TaskType
163     type="REPORT"
164   />
165 </td>
166 `;
167
168 exports[`renders correctly: undefined key 1`] = `
169 <td>
170   <span
171     className="note"
172   >
173     AXR8jg_0mF2ZsYr8Wzs2
174   </span>
175   <TaskType
176     type="REPORT"
177   />
178 </td>
179 `;