Skip to content

Commit

Permalink
fix: ud resolving tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Feb 22, 2024
1 parent 0c76b4f commit b220062
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions packages/name-resolution/tests/ud.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,10 @@ describe("UD Name resolving", () => {
it("it should properly resolve address", async () => {
const resolver = new UDResolver();
await resolver.init();
let address = await resolver.resolveAddress("brad.crypto", "ETH");
const address = await resolver.resolveAddress("brad.crypto", "ETH");
expect(address).to.be.eq("0x8aaD44321A86b170879d7A244c1e8d360c99DdA8");
address = await resolver.resolveAddress("brad.zil", "ETH");
expect(address).to.be.eq("0x45b31e01AA6f42F0549aD482BE81635ED3149abb");
}).timeout(10000);

// it("it should properly reverse resolve", async () => {
// const resolver = new UDResolver();
// await resolver.init();
// const name = await resolver.resolveReverseName(
// "0xe5dc07bdcdb8c98850050c7f67de7e164b1ea391"
// );
// expect(name).to.be.eq("kvhnuke.eth");
// }).timeout(10000);

it("it should return null if not found", async () => {
const resolver = new UDResolver();
await resolver.init();
Expand Down

1 comment on commit b220062

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.