Skip to content

Commit

Permalink
add assertion for correct resolution of delegatee oobi (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
lenkan committed Aug 27, 2024
1 parent ce3614c commit 1bc8a01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/integration-scripts/delegation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ test('delegation', async () => {
await waitOperation(client2, await rpyResult2.op());
const oobis = await client2.oobis().get('delegate');

console.log(oobis);
await getOrCreateContact(
const contactId = await getOrCreateContact(
client1,
'delegate',
oobis.oobis[0].split('/agent/')[0]
);
// console.log(res);

expect(contactId).toEqual(aid2.prefix);
}, 600000);

0 comments on commit 1bc8a01

Please sign in to comment.