Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lenkan committed Sep 13, 2024
1 parent 38a1f66 commit b557d6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/integration-scripts/challenge.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ test('challenge', async () => {
contacts1 = await client1.contacts().list();
bobContact = contacts1.find((contact) => contact.alias === 'bob');

expect(bobContact?.challenges).toEqual([{ authenticated: true }]);
assert(Array.isArray(bobContact?.challenges));
expect(bobContact?.challenges[0].authenticated).toBe(true);

await assertOperations(client1, client2);
}, 30000);

0 comments on commit b557d6d

Please sign in to comment.