test: reduce wording coupling and prune redundant coverage

This commit is contained in:
morluto committed 2026-11-08 00:01:18 +08:00
1 parent 80427af8cc
commit 1596d6a275
165 files changed
+633 -597

No files matched your search

+1 -3
View File
@@ -50,9 +50,7 @@ it("names the fixed report allowance when provenance.json exceeds 8 MiB", async
expect(projected.remediation.action).toContain("no runtime override");
expect(projected.remediation.action).toContain("max_heap_mb");
expect(projected.remediation.action).toContain("analysis_timeout_ms");
expect(projected.remediation.action).toContain(
"Repeating the unchanged request fails the same way",
);
expect(projected.remediation.action).toMatch(/unchanged request.*fails/iu);
});
it("keeps a malformed provenance report distinct from the fixed report allowance", async () => {