mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 12:56:01 +01:00
19 lines
557 B
JavaScript
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();
|
|
});
|
|
});
|