mirror of
https://github.com/morluto/rea
synced 2026-10-28 06:46:47 -04:00
test: remove duplicate result assertions before throwing guards
This commit is contained in:
@@ -111,7 +111,6 @@ describe("JavaScript recovery workflow", () => {
|
||||
),
|
||||
});
|
||||
const result = await service.recover(input);
|
||||
expect(result.ok).toBe(false);
|
||||
if (result.ok) throw new Error("expected invalid port output");
|
||||
expect(result.error._tag).toBe("AnalysisOutputError");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user