From 6b514c3a73255d19da7b67573b3c02097e14a1b7 Mon Sep 17 00:00:00 2001 From: David de Meijere Date: Wed, 8 May 2024 12:15:17 +0200 Subject: [PATCH] move waitOperation of join to before asserts for multisig join --- examples/integration-scripts/multisig-join.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/integration-scripts/multisig-join.test.ts b/examples/integration-scripts/multisig-join.test.ts index 779d4ad5..cd04abed 100644 --- a/examples/integration-scripts/multisig-join.test.ts +++ b/examples/integration-scripts/multisig-join.test.ts @@ -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); @@ -362,8 +364,6 @@ describe('multisig-join', () => { assert.equal(endRoleResult.done, true); assert.equal(endRoleResult.error, null); - - await waitOperation(client3, joinOperation); }); });