Fix ops market opportunity scan snapshot

This commit is contained in:
2569718930@qq.com
2026-07-04 00:07:24 +08:00
parent 7a5fe8b571
commit 59cd48997f
4 changed files with 72 additions and 28 deletions
@@ -57,4 +57,10 @@ export function runTests() {
client.includes("positive_edge_only") && client.includes("显示全部低价"),
"market opportunities page must default to positive edge and allow showing every low-price option",
);
assert(
client.includes("最高买入价") &&
client.includes("最小 Edge") &&
client.includes('showAllLowPrice ? "-1" : minEdge'),
"market opportunities filters must label price versus edge and not edge-filter the show-all-low-price view",
);
}