Skip to content

Commit

Permalink
add test case for sheba module for bank shahr (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrunderline committed Mar 1, 2023
1 parent a4a3936 commit a3e6cab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/sheba.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ describe("Sheba", () => {
});

it("getShebaInfo should works", () => {
expect(getShebaInfo("IR790610000000700796858044")).toEqual(
expect.objectContaining({
nickname: "shahr",
accountNumber: "700796858044",
code: "061",
}),
);
expect(getShebaInfo("IR820540102680020817909002")).toEqual(
expect.objectContaining({
nickname: "parsian",
Expand Down

0 comments on commit a3e6cab

Please sign in to comment.