1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 08:09:15 +01:00
metamask-extension/ui/components/app/edit-gas-display/edit-gas-display.test.js

20 lines
591 B
JavaScript
Raw Normal View History

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();
});
});