You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
557 B
19 lines
557 B
3 years ago
|
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();
|
||
|
});
|
||
|
});
|