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.
18 lines
557 B
18 lines
557 B
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();
|
|
});
|
|
});
|
|
|