1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 04:46:10 +01:00
metamask-extension/ui/components/app/modal/modal-content/modal-content.component.test.js

16 lines
430 B
JavaScript

import React from 'react';
import { renderWithProvider } from '../../../../../test/lib/render-helpers';
import ModalContent from '.';
describe('ModalContent Component', () => {
const props = {
title: 'Modal Title',
description: 'Modal Description',
};
it('should match snapshot', () => {
const { container } = renderWithProvider(<ModalContent {...props} />);
expect(container).toMatchSnapshot();
});
});