Skip to content

Commit f6be873

Browse files
committed
add test for deser pool id
1 parent 4d96ca1 commit f6be873

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { deserializePoolId } from "../src";
2+
3+
describe("Util tests", () => {
4+
it("should correctly deserialize a pool id", () => {
5+
expect(
6+
deserializePoolId(
7+
"pool1lzg07gaddygem6f5ch60yv0l0g2529af87hqgw6gkqdmsfs39z9",
8+
),
9+
).toBe("f890ff23ad69119de934c5f4f231ff7a154517a93fae043b48b01bb8");
10+
});
11+
});

0 commit comments

Comments
 (0)