From b34c4fd1c409178591bf0143ef53be455423c935 Mon Sep 17 00:00:00 2001 From: dtfiedler Date: Fri, 5 Jan 2024 13:35:42 -0600 Subject: [PATCH] chore(tests): update tests --- tests/integration/routes.test.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/integration/routes.test.ts b/tests/integration/routes.test.ts index 329a921..ea914fb 100644 --- a/tests/integration/routes.test.ts +++ b/tests/integration/routes.test.ts @@ -662,7 +662,13 @@ describe('Integration tests', () => { const { address, contractTxId, interactions, sortKey, pages } = data; expect(address).to.equal(walletAddress); expect(sortKey).to.not.be.undefined; - expect(pages).to.be.undefined; + expect(pages).to.be.equal({ + page: 1, + pageSize: 100, + totalPages: 1, + totalItems: contractInteractions.length, + hasNextPage: false, + }); expect(contractTxId).to.equal(id); expect(interactions).to.deep.equal(contractInteractions); });