From 95231a3566e99521679181da8949c504dbcc6ed6 Mon Sep 17 00:00:00 2001 From: Christophe Date: Mon, 1 Jul 2024 12:44:58 +0000 Subject: [PATCH] Update getParentBaseFeeEstimate unit test --- .../__snapshots__/publicActionsChildChain.unit.test.ts.snap | 2 -- src/decorators/publicActionsChildChain.unit.test.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/decorators/__snapshots__/publicActionsChildChain.unit.test.ts.snap b/src/decorators/__snapshots__/publicActionsChildChain.unit.test.ts.snap index 7dc5520d..56398936 100644 --- a/src/decorators/__snapshots__/publicActionsChildChain.unit.test.ts.snap +++ b/src/decorators/__snapshots__/publicActionsChildChain.unit.test.ts.snap @@ -16,8 +16,6 @@ exports[`Getters > [getMinimumGasPrice] Should return minimum gas price 1`] = `1 exports[`Getters > [getNetworkFeeAccount] Should return network fee account 1`] = `"0x32e7AF5A8151934F3787d0cD59EB6EDd0a736b1d"`; -exports[`Getters > [getParentBaseFeeEstimate] Should return parent base fee estimate 1`] = `106354669n`; - exports[`Getters > [getParentRewardRate] Should return parent reward rate 1`] = `0n`; exports[`Getters > [getParentRewardRecipient] Should return parent reward recipient 1`] = `"0x2E041280627800801E90E9Ac83532fadb6cAd99A"`; diff --git a/src/decorators/publicActionsChildChain.unit.test.ts b/src/decorators/publicActionsChildChain.unit.test.ts index 94bb86c0..08166f26 100644 --- a/src/decorators/publicActionsChildChain.unit.test.ts +++ b/src/decorators/publicActionsChildChain.unit.test.ts @@ -57,7 +57,7 @@ describe('Getters', () => { it('[getParentBaseFeeEstimate] Should return parent base fee estimate', async () => { const parentBaseFeeEstimate = await client.getParentBaseFeeEstimate(); - expect(parentBaseFeeEstimate).toMatchSnapshot(); + expect(parentBaseFeeEstimate).toBeGreaterThan(0n); }); it('[getParentRewardRate] Should return parent reward rate', async () => {