1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-11 20:27:12 +01:00
metamask-extension/ui/components/app/edit-gas-display/edit-gas-display.test.js
2022-12-09 00:07:06 +05:30

20 lines
591 B
JavaScript

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', () => {
it('if render correctly', () => {
expect(render).not.toThrow();
});
});