Skip to content

Commit 2c15ca8

Browse files
committed
fix tests
1 parent a09082d commit 2c15ca8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/observability/src/shared/components/gauge/gauge.component.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ describe('Gauge component', () => {
4646
spectator.component.onLayoutChange();
4747
expect(spectator.component.rendererData).toEqual({
4848
backgroundArc:
49-
'M-139.64240043768942,-2.3092638912203256e-14A10,10,0,0,1,-149.61685761181008,-10.714285714285738A150,150,0,0,1,149.61685761181008,-10.714285714285714A10,10,0,0,1,139.64240043768942,0L139.64240043768942,0A10,10,0,0,1,129.66794326356876,-9.285714285714285A130,130,0,0,0,-129.66794326356873,-9.2857142857143A10,10,0,0,1,-139.64240043768942,-2.3092638912203256e-14Z',
49+
'M-137.45365478341216,36.83059579592157A7.5,7.5,0,0,1,-146.73136591755903,31.143317998687955A150,150,0,1,1,146.73136591755903,31.143317998687948A7.5,7.5,0,0,1,137.45365478341216,36.83059579592157L137.45365478341216,36.83059579592157A7.5,7.5,0,0,1,132.05822932580313,28.02898619881916A135,135,0,1,0,-132.05822932580313,28.02898619881914A7.5,7.5,0,0,1,-137.45365478341216,36.83059579592157Z',
5050
origin: {
5151
x: 150,
52-
y: 170
52+
y: 150
5353
},
5454
radius: 150,
5555
data: {
5656
value: 80,
5757
maxValue: 100,
5858
valueArc:
59-
'M-139.64240043768942,-2.3092638912203256e-14A10,10,0,0,1,-149.61685761181008,-10.714285714285738A150,150,0,0,1,114.74488132122605,-96.61062162401063A10,10,0,0,1,112.97307508940239,-82.07974357199379L112.97307508940239,-82.07974357199379A10,10,0,0,1,99.44556381172924,-83.72920540747589A130,130,0,0,0,-129.66794326356873,-9.2857142857143A10,10,0,0,1,-139.64240043768942,-2.3092638912203256e-14Z',
59+
'M-137.45365478341216,36.83059579592157A7.5,7.5,0,0,1,-146.73136591755903,31.143317998687955A150,150,0,0,1,88.13185990085536,-121.37864421065183A7.5,7.5,0,0,1,89.55386161673987,-110.58980906724544L89.55386161673987,-110.58980906724544A7.5,7.5,0,0,1,79.31867391076982,-109.24077978958663A135,135,0,0,0,-132.05822932580313,28.02898619881914A7.5,7.5,0,0,1,-137.45365478341216,36.83059579592157Z',
6060
threshold: {
6161
color: '#9e4c41',
6262
end: 90,

0 commit comments

Comments
 (0)