test: consolidate failure guards and trim unused fixture APIs

This commit is contained in:
morluto
2026-10-09 03:13:43 +08:00
parent 81ae838567
commit ffd9611308
38 changed files with 90 additions and 203 deletions
@@ -163,8 +163,7 @@ describe("Android application projection", () => {
inventory_evidence: [inventory],
});
expect(result.ok).toBe(true);
if (!result.ok) return;
if (!result.ok) throw result.error;
const projection = androidApplicationProjectionResultSchema.parse(
result.value.normalized_result,
);