Skip to content

Commit

Permalink
fix: add more test
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitsrivastava-cb committed Dec 17, 2024
1 parent 36a7e1b commit 3d1a9e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/address_reputation_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,8 @@ describe("AddressReputation for risky address", () => {
});
expect(addressReputation.risky).toBe(false);
});

it("should throw an error for an empty model", () => {
expect(() => new AddressReputation(null!)).toThrow("Address reputation model cannot be empty");
});
});

0 comments on commit 3d1a9e0

Please sign in to comment.