Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
chore(tests): update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Jan 5, 2024
1 parent 199ac1d commit b34c4fd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/integration/routes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit b34c4fd

Please sign in to comment.