Skip to content

Commit

Permalink
move waitOperation of join to before asserts for multisig join
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddm authored and lenkan committed Aug 12, 2024
1 parent a92ca84 commit da42cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/integration-scripts/multisig-join.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ describe('multisig-join', () => {
.groups()
.join(nameMultisig, serder3, sigs3, exn3.a.gid, smids, rmids);

await waitOperation(client3, joinOperation);

const multisigAid = await client3.identifiers().get(nameMultisig);

assert.equal(multisigAid.state.k.length, 3);
Expand All @@ -362,8 +364,6 @@ describe('multisig-join', () => {

assert.equal(endRoleResult.done, true);
assert.equal(endRoleResult.error, null);

await waitOperation(client3, joinOperation);
});
});

Expand Down

0 comments on commit da42cb9

Please sign in to comment.