feat(asset-ai): simplify count answers and refine mobile conversation layout
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -158,3 +158,11 @@ test("presentation receives authorized aggregates while vehicle rows stay in the
|
||||
);
|
||||
assert.equal(events.filter((e) => e.type === "step").length, 4);
|
||||
});
|
||||
|
||||
test("inventory subsets do not inherit parent inventory metric cards", () => {
|
||||
for (const category of ["abnormal", "pending", "available", "awaiting"] as const) {
|
||||
const r = assetResult(vehicles, {kind:"assets", category, groupBy:"none", view:"chart", filters:{}});
|
||||
assert.equal(r.metrics.length, 1, category);
|
||||
assert.doesNotMatch(r.summary, /其中异动.*待交车/);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user