Skip to content

Commit

Permalink
chore: modify existing test to handle block_ properties as well
Browse files Browse the repository at this point in the history
Signed-off-by: nikolay <[email protected]>
  • Loading branch information
natanasow committed Nov 7, 2024
1 parent 996b239 commit cdf0020
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/relay/tests/lib/mirrorNodeClient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,9 @@ describe('MirrorNodeClient', async function () {
expect(result.to).equal(detailedContractResult.to);
expect(result.v).equal(detailedContractResult.v);
expect(result.transaction_index).equal(detailedContractResult.transaction_index);
expect(result.block_gas_used).equal(detailedContractResult.block_gas_used);
expect(result.block_number).equal(detailedContractResult.block_number);
expect(result.block_hash).equal(detailedContractResult.block_hash);
expect(mock.history.get.length).to.eq(1); // is called once
});

Expand Down

0 comments on commit cdf0020

Please sign in to comment.