import {mountWithTheme} from 'sentry-test/enzyme';

import DiffModal from 'app/components/modals/diffModal';

describe('DiffModal', function () {
  it('renders', function () {
    const project = TestStubs.ProjectDetails();

    mountWithTheme(
      <DiffModal
        orgId="123"
        baseIssueId="123"
        targetIssueId="234"
        project={project}
        Body={({children}) => <div>{children}</div>}
        CloseButton={({children}) => <div>{children}</div>}
      />
    );
  });
});
