Skip to content

Commit

Permalink
atributo para Growth Crcle,pruebas unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMendozaPrado committed Jun 14, 2024
1 parent 6d6406d commit b451e3f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion components/GrowthCircle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const GrowthCircle = ({

return (
<svg
data-testid="growth-circle-svg"
width={size}
height={size}
viewBox={`0 0 ${size} ${size}`}
Expand All @@ -41,7 +42,13 @@ const GrowthCircle = ({
<stop offset="100%" stopColor={gradient.end} />
</linearGradient>
</defs>
<circle cx={radius} cy={radius} r={radius} fill={`url(#${gradientId})`} />
<circle
data-testid="growth-circle"
cx={radius}
cy={radius}
r={radius}
fill={`url(#${gradientId})`}
/>
<text
x="50%"
y="50%"
Expand Down

0 comments on commit b451e3f

Please sign in to comment.