diffModal.spec.jsx 378 B

1234567891011121314
  1. import React from 'react';
  2. import {shallow} from 'enzyme';
  3. import DiffModal from 'app/components/modals/diffModal';
  4. describe('DiffModal', function() {
  5. beforeEach(function() {});
  6. afterEach(function() {});
  7. it('renders', function() {
  8. const wrapper = shallow(<DiffModal Body={({children}) => <div>{children}</div>} />);
  9. expect(wrapper).toMatchSnapshot();
  10. });
  11. });