tokens send test
This commit is contained in:
parent
617a49fa12
commit
3a02e91413
@ -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);
|
||||||
|
@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user