1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 12:56:01 +01:00
metamask-extension/ui/components/app/advanced-gas-fee-popover/advanced-gas-fee-input-subtext/advanced-gas-fee-input-subtext.test.js

19 lines
557 B
JavaScript

import React from 'react';
import { render, screen } from '@testing-library/react';
import AdvancedGasFeeInputSubtext from './advanced-gas-fee-input-subtext';
describe('AdvancedGasFeeInputSubtext', () => {
it('should renders latest and historical values passed', () => {
render(
<AdvancedGasFeeInputSubtext
latest="Latest Value"
historical="Historical value"
/>,
);
expect(screen.queryByText('Latest Value')).toBeInTheDocument();
expect(screen.queryByText('Historical value')).toBeInTheDocument();
});
});