Skip to content

Commit

Permalink
test: specify args for function call
Browse files Browse the repository at this point in the history
  • Loading branch information
denbite committed Mar 27, 2024
1 parent 710c15b commit 24a01dc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/accounts/test/contract.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({});
Expand Down

0 comments on commit 24a01dc

Please sign in to comment.