tokens send test
All checks were successful
Lint / lint (18.x) (pull_request) Successful in 1m9s
Tests / cli_tests (18.x) (pull_request) Successful in 9m1s

This commit is contained in:
Thomas E Lackey 2024-08-19 21:52:33 -05:00
parent 617a49fa12
commit 3a02e91413
2 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ export const handler = async (argv: Arguments) => {
recipient: transfer?.attributes.find(a => a.key === 'recipient')?.value, recipient: transfer?.attributes.find(a => a.key === 'recipient')?.value,
amount: transfer?.attributes.find(a => a.key === 'amount')?.value amount: transfer?.attributes.find(a => a.key === 'amount')?.value
}, },
balances: accountResponse accounts: accountResponse
}; };
queryOutput(output, argv.output); queryOutput(output, argv.output);

View File

@ -217,8 +217,8 @@ describe('Test laconic CLI commands', () => {
getAccountObj({ address: testAccount2, balance: sendAmount }) getAccountObj({ address: testAccount2, balance: sendAmount })
]; ];
expect(outputObj.length).toEqual(2); expect(outputObj.accounts.length).toEqual(2);
expect(outputObj).toMatchObject(expectedAccounts); expect(outputObj.accounts).toMatchObject(expectedAccounts);
}); });
}); });