Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmarcus committed Aug 20, 2024
1 parent 9a69863 commit cbe9c90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/rpc/src/methods/social.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('near social', () => {
}),
});

const profile = await nearSocialProfile({accountId: 'nate.testnet', network: 'testnet', rpcUrl: 'https://rpc.testnet.near.org'});
const profile = await nearSocialProfile({accountId: 'benipsen.testnet', network: 'testnet', rpcUrl: 'https://rpc.testnet.near.org'});
expect(profile.name).toBeDefined();
expect(profile.imageUrl).toBeNull();
});
Expand Down Expand Up @@ -49,7 +49,7 @@ describe('near social', () => {
}),
});

const profile = await nearSocialProfile({accountId: 'nate.testnet', network: 'testnet', rpcUrl: 'https://rpc.testnet.near.org'});
const profile = await nearSocialProfile({accountId: 'benipsen.testnet', network: 'testnet', rpcUrl: 'https://rpc.testnet.near.org'});
expect(profile.name).toBeDefined();
expect(profile.backgroundImageUrl).not.toBeNull();
expect(profile.imageUrl).toContain(NEAR_SOCIAL_IPFS_GATEWAY);
Expand All @@ -67,7 +67,7 @@ describe('near social', () => {
}),
});

const profile = await nearSocialProfile({accountId: 'nate.nope', network: 'testnet', rpcUrl: 'https://rpc.testnet.near.org'});
const profile = await nearSocialProfile({accountId: 'benipsen.nope', network: 'testnet', rpcUrl: 'https://rpc.testnet.near.org'});
expect(profile.name).toBeUndefined();
});
});

0 comments on commit cbe9c90

Please sign in to comment.