]> source.dussan.org Git - sonarqube.git/blob
b054cb915e8ed1f3303694322f62cf36d0dc328d
[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   <Connect(Organization)
13     organizationKey="org"
14   />
15   <Link
16     className="spacer-right"
17     onlyActiveOnIndex={false}
18     style={Object {}}
19     to={
20       Object {
21         "pathname": "/dashboard",
22         "query": Object {
23           "branch": undefined,
24           "id": "foo",
25         },
26       }
27     }
28   >
29     foo
30   </Link>
31   <TaskType
32     type="REPORT"
33   />
34 </td>
35 `;
36
37 exports[`renders correctly 2`] = `
38 <td>
39   <span
40     className="note"
41   >
42     bar
43   </span>
44   <TaskType
45     type="REPORT"
46   />
47 </td>
48 `;
49
50 exports[`renders correctly for branches and pullrequest 1`] = `
51 <td>
52   <ShortLivingBranchIcon
53     className="little-spacer-right"
54   />
55   <Connect(Organization)
56     organizationKey="org"
57   />
58   <Link
59     className="spacer-right"
60     onlyActiveOnIndex={false}
61     style={Object {}}
62     to={
63       Object {
64         "pathname": "/project/issues",
65         "query": Object {
66           "branch": "feature",
67           "id": "foo",
68           "resolved": "false",
69         },
70       }
71     }
72   >
73     foo
74     <span
75       className="text-limited text-text-top"
76       title="feature"
77     >
78       <span
79         style={
80           Object {
81             "marginLeft": 5,
82             "marginRight": 5,
83           }
84         }
85       >
86         /
87       </span>
88       feature
89     </span>
90   </Link>
91   <TaskType
92     type="REPORT"
93   />
94 </td>
95 `;
96
97 exports[`renders correctly for branches and pullrequest 2`] = `
98 <td>
99   <LongLivingBranchIcon
100     className="little-spacer-right"
101   />
102   <Connect(Organization)
103     organizationKey="org"
104   />
105   <Link
106     className="spacer-right"
107     onlyActiveOnIndex={false}
108     style={Object {}}
109     to={
110       Object {
111         "pathname": "/dashboard",
112         "query": Object {
113           "branch": "branch-6.7",
114           "id": "foo",
115         },
116       }
117     }
118   >
119     foo
120     <span
121       className="text-limited text-text-top"
122       title="branch-6.7"
123     >
124       <span
125         style={
126           Object {
127             "marginLeft": 5,
128             "marginRight": 5,
129           }
130         }
131       >
132         /
133       </span>
134       branch-6.7
135     </span>
136   </Link>
137   <TaskType
138     type="REPORT"
139   />
140 </td>
141 `;
142
143 exports[`renders correctly for branches and pullrequest 3`] = `
144 <td>
145   <PullRequestIcon
146     className="little-spacer-right"
147   />
148   <Connect(Organization)
149     organizationKey="org"
150   />
151   <Link
152     className="spacer-right"
153     onlyActiveOnIndex={false}
154     style={Object {}}
155     to={
156       Object {
157         "pathname": "/project/issues",
158         "query": Object {
159           "id": "foo",
160           "pullRequest": "pr-89",
161           "resolved": "false",
162         },
163       }
164     }
165   >
166     foo
167     <span
168       className="text-limited text-text-top"
169     >
170       <span
171         style={
172           Object {
173             "marginLeft": 5,
174             "marginRight": 5,
175           }
176         }
177       >
178         /
179       </span>
180       pr-89
181     </span>
182   </Link>
183   <TaskType
184     type="REPORT"
185   />
186 </td>
187 `;