mirror of
https://github.com/morluto/rea.git
synced 2026-11-02 21:06:04 +00:00
test: remove duplicate result assertions before throwing guards
This commit is contained in:
1 parent
5945915f91
commit
a1b7d40bb0
33 files changed
-62
No files matched your search
@@ -230,7 +230,6 @@ describe("analysis snapshot cache partitioning", () => {
|
||||
ANALYSIS_SNAPSHOT_PROFILE,
|
||||
createEvidenceBundle([evidence]),
|
||||
);
|
||||
expect(exported.ok).toBe(true);
|
||||
if (!exported.ok) throw new Error("snapshot export failed");
|
||||
const tampered = structuredClone(exported.value);
|
||||
const tamperedEntry = tampered.entries[0];
|
||||
|
||||
Reference in new issue
Block a user