UNPKG

@retailmenot/anchor

Version:

A React UI Library by RetailMeNot

14 lines 461 B
// REACT import * as React from 'react'; import * as renderer from 'react-test-renderer'; // COMPONENT import { Modal } from '..'; const { Content } = Modal; describe('Component: Modal.Content', () => { it('should render', () => { const subject = React.createElement(Content, null, "Text"); const tree = renderer.create(subject).toJSON(); expect(tree).toMatchSnapshot(); }); }); //# sourceMappingURL=Content.component.spec.js.map