]> source.dussan.org Git - sonarqube.git/blob
695b3fbe04487eca58213c189d56cd0ea0fcf9e8
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <tr>
5   <td>
6     <strong>
7       total
8     </strong>
9   </td>
10   <td
11     className="thin nowrap text-right"
12   >
13     <Link
14       to={
15         Object {
16           "pathname": "/coding_rules",
17           "search": "?qprofile=bar&activation=true",
18         }
19       }
20     >
21       <strong>
22         3
23       </strong>
24     </Link>
25   </td>
26   <td
27     className="thin nowrap text-right"
28   >
29     <Link
30       className="small"
31       to={
32         Object {
33           "pathname": "/coding_rules",
34           "search": "?qprofile=bar&activation=false",
35         }
36       }
37     >
38       <strong>
39         7
40       </strong>
41     </Link>
42   </td>
43 </tr>
44 `;
45
46 exports[`should render correctly if there is 0 rules 1`] = `
47 <tr>
48   <td>
49     <strong>
50       total
51     </strong>
52   </td>
53   <td
54     className="thin nowrap text-right"
55   >
56     <Link
57       to={
58         Object {
59           "pathname": "/coding_rules",
60           "search": "?qprofile=bar&activation=true",
61         }
62       }
63     >
64       <strong>
65         0
66       </strong>
67     </Link>
68   </td>
69   <td
70     className="thin nowrap text-right"
71   >
72     <span
73       className="note"
74     >
75       0
76     </span>
77   </td>
78 </tr>
79 `;
80
81 exports[`should render correctly if there is missing data 1`] = `
82 <tr>
83   <td>
84     <strong>
85       total
86     </strong>
87   </td>
88   <td
89     className="thin nowrap text-right"
90   >
91     <Link
92       to={
93         Object {
94           "pathname": "/coding_rules",
95           "search": "?qprofile=bar&activation=true",
96         }
97       }
98     >
99       <strong>
100         5
101       </strong>
102     </Link>
103   </td>
104   <td
105     className="thin nowrap text-right"
106   />
107 </tr>
108 `;
109
110 exports[`should render correctly if there is missing data 2`] = `
111 <tr>
112   <td>
113     <strong>
114       total
115     </strong>
116   </td>
117   <td
118     className="thin nowrap text-right"
119   />
120   <td
121     className="thin nowrap text-right"
122   />
123 </tr>
124 `;