2022-01-07 20:18:02 +01:00
|
|
|
import React from 'react';
|
|
|
|
import { renderWithProvider } from '../../../../test/jest';
|
|
|
|
import configureStore from '../../../store/store';
|
|
|
|
import EditGasDisplay from '.';
|
|
|
|
|
|
|
|
jest.mock('../../../selectors');
|
|
|
|
jest.mock('../../../helpers/utils/confirm-tx.util');
|
|
|
|
jest.mock('../../../helpers/utils/transactions.util');
|
|
|
|
|
|
|
|
function render({ componentProps = {} } = {}) {
|
|
|
|
const store = configureStore({});
|
|
|
|
return renderWithProvider(<EditGasDisplay {...componentProps} />, store);
|
|
|
|
}
|
|
|
|
|
|
|
|
describe('EditGasDisplay', () => {
|
2022-12-08 19:37:06 +01:00
|
|
|
it('if render correctly', () => {
|
|
|
|
expect(render).not.toThrow();
|
2022-01-07 20:18:02 +01:00
|
|
|
});
|
|
|
|
});
|