feat: implement tests and coverage reports for KpiCards and scrapeLakes functionality

This commit is contained in:
David Fencl
2026-06-05 23:08:44 +02:00
parent 0030dca448
commit 8193ce818a
37 changed files with 4309 additions and 31 deletions
+9
View File
@@ -6793,5 +6793,14 @@
"volume": 26.49,
"temperature": 14.4,
"precipitation": 0
},
{
"timestamp": "2026-06-05T21:00:00.000Z",
"level": 467.72,
"flow": 0,
"inflow": 2.88,
"volume": 26.49,
"temperature": 13.1,
"precipitation": 0
}
]
+10 -1
View File
@@ -6788,10 +6788,19 @@
{
"timestamp": "2026-06-05T20:50:00.000Z",
"level": 352.85,
"flow": 0,
"flow": 2.53,
"inflow": 1.46,
"volume": 32.35,
"temperature": 12.1,
"precipitation": 5.7
},
{
"timestamp": "2026-06-05T21:00:00.000Z",
"level": 352.86,
"flow": 0,
"inflow": 1.46,
"volume": 32.37,
"temperature": 12.1,
"precipitation": 5.7
}
]
+9
View File
@@ -6793,5 +6793,14 @@
"volume": 20.2,
"temperature": 18.234727964853622,
"precipitation": 0
},
{
"timestamp": "2026-06-05T21:00:00.000Z",
"level": 369.78,
"flow": 1.25,
"inflow": 10.82,
"volume": 20.24,
"temperature": 18.234727964853622,
"precipitation": 0
}
]
+9
View File
@@ -6793,5 +6793,14 @@
"volume": 2.75,
"temperature": 12.4,
"precipitation": 0
},
{
"timestamp": "2026-06-05T21:00:00.000Z",
"level": 352.44,
"flow": 19.01,
"inflow": 14.13,
"volume": 2.74,
"temperature": 12.4,
"precipitation": 0
}
]
+10 -1
View File
@@ -6788,10 +6788,19 @@
{
"timestamp": "2026-06-05T20:50:00.000Z",
"level": 723.09,
"flow": 0,
"flow": 1.51,
"inflow": 2.51,
"volume": 199.27,
"temperature": 18.62002326908434,
"precipitation": 0
},
{
"timestamp": "2026-06-05T21:00:00.000Z",
"level": 723.09,
"flow": 0,
"inflow": 2.51,
"volume": 199.67,
"temperature": 18.62002326908434,
"precipitation": 0
}
]
+9
View File
@@ -6793,5 +6793,14 @@
"volume": 0.62,
"temperature": 17.97824695485787,
"precipitation": 0
},
{
"timestamp": "2026-06-05T21:00:00.000Z",
"level": 559.91,
"flow": 0,
"inflow": 3.71,
"volume": 0.68,
"temperature": 17.97824695485787,
"precipitation": 0
}
]
+9
View File
@@ -6793,5 +6793,14 @@
"volume": 523.52,
"temperature": 18.70045888971512,
"precipitation": 0
},
{
"timestamp": "2026-06-05T21:00:00.000Z",
"level": 345.26,
"flow": 377.67,
"inflow": 23.84,
"volume": 522.12,
"temperature": 18.70045888971512,
"precipitation": 0
}
]
+9
View File
@@ -6793,5 +6793,14 @@
"volume": 259.76,
"temperature": 16.3,
"precipitation": 0
},
{
"timestamp": "2026-06-05T21:00:00.000Z",
"level": 269.8,
"flow": 217.32,
"inflow": 46.5,
"volume": 260.21,
"temperature": 16.3,
"precipitation": 0
}
]
+9
View File
@@ -6793,5 +6793,14 @@
"volume": 8.96,
"temperature": 18.450684013836877,
"precipitation": 0
},
{
"timestamp": "2026-06-05T21:00:00.000Z",
"level": 218.59,
"flow": 85.17,
"inflow": 19.85,
"volume": 9.68,
"temperature": 18.450684013836877,
"precipitation": 0
}
]
+4 -4
View File
@@ -25,7 +25,7 @@
14.02,
1.51,
1.51,
0
1.51
]
},
{
@@ -37,7 +37,7 @@
"capacity": 100,
"storageDiff": 48.41,
"inflow": "3.7",
"outflow": "7.2",
"outflow": "0.0",
"volume": 0.62,
"maxVolume": 1.5,
"lat": 48.625,
@@ -298,7 +298,7 @@
"capacity": 74.8,
"storageDiff": -2.93,
"inflow": "2.9",
"outflow": "0.7",
"outflow": "0.0",
"volume": 26.49,
"maxVolume": 33.8,
"lat": 48.847,
@@ -344,7 +344,7 @@
2.53,
2.53,
2.53,
0
2.53
]
}
]