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