]> source.dussan.org Git - sonarqube.git/blob
b088c02d4c2a1755d8e38470b4f0fff5e40e84bc
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly for coverage 1`] = `
4 <svg
5   class="donut-chart"
6   height="24"
7   role="img"
8   width="24"
9 >
10   <g
11     transform="translate(0, 0)"
12   >
13     <g
14       transform="translate(12, 12)"
15     >
16       <path
17         d="M0.75,-11.977A12,12,0,1,1,-11.672,2.785L-8.709,2.271A9,9,0,1,0,0.75,-8.969Z"
18         style="fill: rgb(18,183,106);"
19       />
20       <path
21         d="M-11.929,1.307A12,12,0,0,1,-0.75,-11.977L-0.75,-8.969A9,9,0,0,0,-8.965,0.793Z"
22         style="fill: rgb(180,35,24);"
23       />
24     </g>
25   </g>
26 </svg>
27 `;
28
29 exports[`renders correctly for failed quality gate 1`] = `
30 <body>
31   <div>
32     <div
33       aria-label="overview.quality_gate_x.ERROR"
34       class="sw-flex sw-justify-center sw-items-center"
35     >
36       <svg
37         class="sw-mr-2"
38         fill="none"
39         height="1rem"
40         role="status"
41         width="1rem"
42         xmlns="http://www.w3.org/2000/svg"
43       >
44         <rect
45           fill="rgb(254,205,202)"
46           height="1rem"
47           rx="2"
48           width="1rem"
49         />
50         <path
51           d="m10.227 5 .871.871-5.227 5.227L5 10.227z"
52           fill="rgb(128,27,20)"
53         />
54         <path
55           d="m11.098 10.227-.871.87L5 5.872 5.87 5z"
56           fill="rgb(128,27,20)"
57         />
58       </svg>
59     </div>
60     <span
61       class=""
62     >
63       ERROR
64     </span>
65   </div>
66 </body>
67 `;
68
69 exports[`renders correctly for passed quality gate 1`] = `
70 <body>
71   <div>
72     <div
73       aria-label="overview.quality_gate_x.OK"
74       class="sw-flex sw-justify-center sw-items-center"
75     >
76       <svg
77         class="sw-mr-2"
78         fill="none"
79         height="1.5rem"
80         role="status"
81         width="1.5rem"
82         xmlns="http://www.w3.org/2000/svg"
83       >
84         <rect
85           fill="rgb(209,250,223)"
86           height="1.5rem"
87           rx="2"
88           width="1.5rem"
89         />
90         <path
91           d="m16.95 7.5 1.308 1.307-7.84 7.84-1.308-1.306z"
92           fill="rgb(5,96,58)"
93         />
94         <path
95           d="m11.79 15.34-1.307 1.307-4.484-4.483 1.307-1.306z"
96           fill="rgb(5,96,58)"
97         />
98       </svg>
99     </div>
100     <span
101       class="sw-body-md"
102     >
103       OK
104     </span>
105   </div>
106 </body>
107 `;