Skip to content

Commit

Permalink
fix: estimate fee BigInt test
Browse files Browse the repository at this point in the history
  • Loading branch information
tabaktoni committed Sep 29, 2022
1 parent 59bd7a9 commit 0489bed
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions __tests__/sequencerProvider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import {
compiledErc20,
compiledL1L2,
describeIfNotDevnet,
describeIfSequencer,
getTestProvider,
} from './fixtures';

// Run only if Devnet Sequencer
describe('SequencerProvider', () => {
describeIfSequencer('SequencerProvider', () => {
let sequencerProvider: SequencerProvider;
let customSequencerProvider: Provider;
let exampleContractAddress: string;
Expand Down Expand Up @@ -112,9 +113,9 @@ describe('SequencerProvider', () => {
);
expect(estimation).toEqual(
expect.objectContaining({
overall_fee: expect.any(Number),
gas_price: expect.any(Number),
gas_usage: expect.any(Number),
overall_fee: expect.anything(),
gas_price: expect.anything(),
gas_usage: expect.anything(),
unit: 'wei',
})
);
Expand Down

0 comments on commit 0489bed

Please sign in to comment.