From 24a01dcc50672f75efb109d06f462f767ccb9b04 Mon Sep 17 00:00:00 2001 From: Den Date: Wed, 27 Mar 2024 10:48:22 +0100 Subject: [PATCH] test: specify args for function call --- packages/accounts/test/contract.test.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/accounts/test/contract.test.js b/packages/accounts/test/contract.test.js index 61518eaea2..16587a59b2 100644 --- a/packages/accounts/test/contract.test.js +++ b/packages/accounts/test/contract.test.js @@ -201,11 +201,15 @@ describe('contract without account', () => { await contract.add_message({ signerAccount: workingAccount, - text: 'first message', + args: { + text: 'first message', + } }); await contract.add_message({ signerAccount: workingAccount, - text: 'second message', + args: { + text: 'second message', + } }); const totalMessagesAfter = await contract.total_messages({});