From b0fd95cf114b5b46c6e8dfaecdc2dd8b0b0c2c35 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Mon, 19 Aug 2024 21:56:15 -0500 Subject: [PATCH] Check tx details --- test/cli.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/cli.test.ts b/test/cli.test.ts index 44b71ea..e3d715d 100644 --- a/test/cli.test.ts +++ b/test/cli.test.ts @@ -217,6 +217,10 @@ describe('Test laconic CLI commands', () => { getAccountObj({ address: testAccount2, balance: sendAmount }) ]; + expect(outputObj.tx.code).toEqual(0); + expect(outputObj.tx.amount).toEqual(`${sendAmount}${TOKEN_TYPE}`); + expect(outputObj.tx.sender).toEqual(testAccount); + expect(outputObj.tx.recipient).toEqual(testAccount2); expect(outputObj.accounts.length).toEqual(2); expect(outputObj.accounts).toMatchObject(expectedAccounts); });