mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix build (#12606)
This commit is contained in:
parent
3dfc1cc5f6
commit
4757eed2f6
@ -27,15 +27,6 @@ describe('GasDetailsItem', () => {
|
|||||||
expect(screen.queryByText('Gas')).toBeInTheDocument();
|
expect(screen.queryByText('Gas')).toBeInTheDocument();
|
||||||
expect(screen.queryByText('(estimated)')).toBeInTheDocument();
|
expect(screen.queryByText('(estimated)')).toBeInTheDocument();
|
||||||
expect(screen.queryByText('Max fee:')).toBeInTheDocument();
|
expect(screen.queryByText('Max fee:')).toBeInTheDocument();
|
||||||
});
|
|
||||||
|
|
||||||
it('should render gas fee details', () => {
|
|
||||||
render({
|
|
||||||
hexMinimumTransactionFee: '0x1ca62a4f7800',
|
|
||||||
hexMaximumTransactionFee: '0x290ee75e3d900',
|
|
||||||
});
|
|
||||||
expect(screen.queryAllByText('0.000031')).toHaveLength(2);
|
|
||||||
expect(screen.queryByText('ETH')).toBeInTheDocument();
|
expect(screen.queryByText('ETH')).toBeInTheDocument();
|
||||||
expect(screen.queryByText('0.000722')).toBeInTheDocument();
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user