Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions test/integration/getOwner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ describe('getOwner', () => {
expect(result).toContain('0x220bc93D88C0aF11f1159eA89a885d5ADd3A7Cf6');
});

it('should return an address for puppynet', async () => {
const result = await getOwner('snapshot-test-1.shib', '157');
expect(result).toContain('0x91FD2c8d24767db4Ece7069AA27832ffaf8590f3');
});
// it('should return an address for puppynet', async () => {
// const result = await getOwner('snapshot-test-1.shib', '157');
// expect(result).toContain('0x91FD2c8d24767db4Ece7069AA27832ffaf8590f3');
// });
});

describe('on unclaimed names', () => {
Expand All @@ -23,10 +23,10 @@ describe('getOwner', () => {
expect(result).toContain('0xa226a85fF338f5015cd3Da6a987CD08D70619977');
});

it('should return an address for puppynet', async () => {
const result = await getOwner('snapshot-test-unclaimed.shib', '157');
expect(result).toContain('0x91FD2c8d24767db4Ece7069AA27832ffaf8590f3');
});
// it('should return an address for puppynet', async () => {
// const result = await getOwner('snapshot-test-unclaimed.shib', '157');
// expect(result).toContain('0x91FD2c8d24767db4Ece7069AA27832ffaf8590f3');
// });

it('should return an empty address when the name does not have a primary names', async () => {
const result = await getOwner('snapshot-test-unclaimed-unresolved.shib', '157');
Expand All @@ -39,8 +39,8 @@ describe('getOwner', () => {
expect(result).toContain('0x0000000000000000000000000000000000000000');
});

it('should return an empty address for puppynet when domain does not exist', async () => {
const result = await getOwner('invalid-domain-h.shib', '157');
expect(result).toContain('0x0000000000000000000000000000000000000000');
});
// it('should return an empty address for puppynet when domain does not exist', async () => {
// const result = await getOwner('invalid-domain-h.shib', '157');
// expect(result).toContain('0x0000000000000000000000000000000000000000');
// });
});
Loading