test: implement visibility policy and chart logic verification tests for temperature series

This commit is contained in:
2569718930@qq.com
2026-05-29 23:09:16 +08:00
parent 68416b058e
commit 53268560ec
2 changed files with 40 additions and 10 deletions
@@ -95,14 +95,7 @@ function isTemperatureSeriesVisibleByDefault(city: string, seriesKey: string) {
);
}
if (seriesKey === "madis") {
const cityKey = normalizeCityKey(city);
return (
cityKey === "hongkong" ||
cityKey === "laufaushan" ||
cityKey === "shenzhen" ||
cityKey === "ankara" ||
cityKey === "istanbul"
);
return true;
}
return true;
}