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
@@ -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